Move ssh_known_hosts generation to own role
This commit is contained in:
parent
b406b64782
commit
ffbe68294b
4 changed files with 11 additions and 8 deletions
|
@ -21,14 +21,6 @@
|
|||
shell: /sbin/nologin
|
||||
system: true
|
||||
|
||||
- name: create ssh known_hosts
|
||||
template:
|
||||
dest: /etc/ssh/ssh_known_hosts
|
||||
src: ssh_known_hosts.j2
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
|
||||
- name: create data directories
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue