diff options
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 |