aboutsummaryrefslogtreecommitdiffstats
path: root/roles/ssh_dns/tasks
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-19 14:13:28 +0100
committerbinary <me@rgoncalves.se>2020-11-19 14:13:28 +0100
commit75b32e60aad2bc2d8d1746be1dbc6d6bf422592e (patch)
treea15f397fbbbf2de579786ed30214411c62dbab35 /roles/ssh_dns/tasks
parent97f201deb22f11acc22dda5368c365701b5caa5f (diff)
downloadinfrastructure-75b32e60aad2bc2d8d1746be1dbc6d6bf422592e.tar.gz
Move roles functionnality in sub-roles
Diffstat (limited to 'roles/ssh_dns/tasks')
-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.