blob: 4bd765a412f31e6cb736f679f83f85d739145b72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
- name: mkdir ~horus/.ssh
file:
path: /home/horus/.ssh
state: directory
- name: mkdir ~root/.ssh
file:
path: /root/.ssh
state: directory
- name: copy ssh config for horus
copy:
src: config
dest: /home/horus/.ssh/config
- name: copy ssh config for root
copy:
src: config
dest: /root/.ssh/config
- name: copy git private ssh key for root
copy:
src: git
dest: /root/.ssh/git
mode: 0400
- name: copy git private ssh key for horus
copy:
src: git
dest: /home/horus/.ssh/git
mode: 0400
owner: horus
|