blob: 318198ead8781ffff89b49932fa4a4d39b9b1c9f (
plain) (
tree)
|
|
- name: create ssh directory
file:
path: "/home/{{ workstation_user }}/{{ item }}"
owner: "{{ workstation_user }}"
group: "{{ workstation_user }}"
state: directory
mode: 0700
loop:
- .ssh
- .ssh/config.d
- name: generate ssh configuration
template:
src: ssh.config.j2
dest: "/home/{{ workstation_user }}/.ssh/config.d/dns.config"
owner: "{{ workstation_user }}"
group: "{{ workstation_user }}"
mode: 0600
|