aboutsummaryrefslogtreecommitdiffstats
path: root/roles/_workstation/sshdns/tasks/main.yml
blob: daf8f611a98372a6599b4dae309cfb8df4d86040 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---

- 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'
remember that computers suck.