From 75b32e60aad2bc2d8d1746be1dbc6d6bf422592e Mon Sep 17 00:00:00 2001 From: binary Date: Thu, 19 Nov 2020 14:13:28 +0100 Subject: Move roles functionnality in sub-roles --- roles/ssh_dns/tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 roles/ssh_dns/tasks/main.yml (limited to 'roles/ssh_dns') 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 -- cgit v1.2.3