diff options
author | qwmd <me@rgoncalves.se> | 2020-12-26 11:02:35 +0100 |
---|---|---|
committer | qwmd <me@rgoncalves.se> | 2020-12-26 11:13:31 +0100 |
commit | 01fb0f69f89aedbd745d12862ec0acda7a4a0aa0 (patch) | |
tree | 608e2f830edcb8f52a490521a59c51263911049f /roles | |
parent | 95a730a8a335c543d0e513622fedd338c3d1d443 (diff) | |
download | infrastructure-01fb0f69f89aedbd745d12862ec0acda7a4a0aa0.tar.gz |
Add extra check for directory and packages
Diffstat (limited to 'roles')
-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 |