diff options
author | binary <me@rgoncalves.se> | 2020-11-07 20:39:07 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-07 20:39:07 +0100 |
commit | 8ff8f1fa4037defebab29c7c7775ae3372cbe9a7 (patch) | |
tree | e395508f5a962fc9afce777cff08dbfecb0862d4 /roles/ssh/tasks | |
parent | 352c98322771af117a85904d580e1c062062d634 (diff) | |
download | infrastructure-8ff8f1fa4037defebab29c7c7775ae3372cbe9a7.tar.gz |
Automate network deployment
Diffstat (limited to 'roles/ssh/tasks')
-rw-r--r-- | roles/ssh/tasks/generate_dns.yml | 1 | ||||
-rw-r--r-- | roles/ssh/tasks/main.yml | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/roles/ssh/tasks/generate_dns.yml b/roles/ssh/tasks/generate_dns.yml index 6501299..60a21bd 100644 --- a/roles/ssh/tasks/generate_dns.yml +++ b/roles/ssh/tasks/generate_dns.yml @@ -5,3 +5,4 @@ template: src: templates/generate_dns.j2 dest: "{{ lookup('env', 'HOME') }}/.ssh/config.d/ssh_dns" + delegate_to: 127.0.0.1 diff --git a/roles/ssh/tasks/main.yml b/roles/ssh/tasks/main.yml index e69de29..38300df 100644 --- a/roles/ssh/tasks/main.yml +++ b/roles/ssh/tasks/main.yml @@ -0,0 +1,6 @@ + +# ssh ~~ tasks/main.yml + +--- + +- include: generate_dns.yml |