diff options
Diffstat (limited to 'roles/ssh_dns')
-rw-r--r-- | roles/ssh_dns/tasks/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/ssh_dns/tasks/main.yml b/roles/ssh_dns/tasks/main.yml index c134d1b..0942e68 100644 --- a/roles/ssh_dns/tasks/main.yml +++ b/roles/ssh_dns/tasks/main.yml @@ -4,6 +4,12 @@ --- +- name: create config directory + file: + path: "{{ lookup('env', 'HOME') }}/.ssh/config.d" + state: directory + mode: 0700 + - name: Generate template to localhost template: src: templates/generate_dns.j2 |