aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/ssh_dns/tasks/main.yml6
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
remember that computers suck.