aboutsummaryrefslogtreecommitdiffstats
path: root/roles/ssh_dns/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ssh_dns/tasks/main.yml')
-rw-r--r--roles/ssh_dns/tasks/main.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/ssh_dns/tasks/main.yml b/roles/ssh_dns/tasks/main.yml
new file mode 100644
index 0000000..60a21bd
--- /dev/null
+++ b/roles/ssh_dns/tasks/main.yml
@@ -0,0 +1,8 @@
+
+# ssh ~~ tasks/local_dns.yml
+
+- name: Generate template to localhost
+ template:
+ src: templates/generate_dns.j2
+ dest: "{{ lookup('env', 'HOME') }}/.ssh/config.d/ssh_dns"
+ delegate_to: 127.0.0.1
remember that computers suck.