blob: daf8f611a98372a6599b4dae309cfb8df4d86040 (
plain) (
tree)
|
|
---
- name: create config directory
file:
path: '/home/{{ _ws_user }}/.ssh/config.d'
state: directory
group: '{{ _ws_user }}'
owner: '{{ _ws_user }}'
mode: '0700'
- name: generate template to localhost
template:
src: templates/sshdns.j2
dest: '/home/{{ _ws_user }}//.ssh/config.d/ssh_dns'
owner: '{{ _ws_user }}'
group: '{{ _ws_user }}'
mode: '0600'
|