blob: 0942e680800b15438e0bd9598fc320a0df95fc62 (
plain) (
tree)
|
|
# ssh dns ~~ roles/ssh_dns/tasks/main.yml
# generate dns for ssh use on workstations
---
- 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
dest: "{{ lookup('env', 'HOME') }}/.ssh/config.d/ssh_dns"
|