diff options
author | binary <me@rgoncalves.se> | 2020-11-03 23:25:59 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-03 23:25:59 +0100 |
commit | c428dacb8eb7af00c5c8aafa805502feb1b0625c (patch) | |
tree | 47489aa56731f51c7deea50e1bd78e7d242ef9e9 /roles/ssh/tasks | |
parent | af78a2b68e25296ecf2187199bb9e3b2ed370e46 (diff) | |
download | infrastructure-c428dacb8eb7af00c5c8aafa805502feb1b0625c.tar.gz |
Init ssh role
Diffstat (limited to 'roles/ssh/tasks')
-rw-r--r-- | roles/ssh/tasks/generate_dns.yml | 7 | ||||
-rw-r--r-- | roles/ssh/tasks/main.yml | 0 |
2 files changed, 7 insertions, 0 deletions
diff --git a/roles/ssh/tasks/generate_dns.yml b/roles/ssh/tasks/generate_dns.yml new file mode 100644 index 0000000..6501299 --- /dev/null +++ b/roles/ssh/tasks/generate_dns.yml @@ -0,0 +1,7 @@ + +# 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" diff --git a/roles/ssh/tasks/main.yml b/roles/ssh/tasks/main.yml new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/roles/ssh/tasks/main.yml |