Added emma play and updated roles for multi-server setup
This commit is contained in:
parent
dc538a3971
commit
75e0f73ba8
10 changed files with 151 additions and 0 deletions
|
|
@ -1,4 +1,20 @@
|
|||
---
|
||||
- name: Ensure ssh directory is present
|
||||
file:
|
||||
path: /home/debian/.ssh/
|
||||
state: directory
|
||||
owner: debian
|
||||
group: debian
|
||||
mode: '700'
|
||||
|
||||
- name: Ensure authorized keys are present
|
||||
copy:
|
||||
src: authorized_keys
|
||||
dest: /home/debian/.ssh/authorized_keys
|
||||
owner: debian
|
||||
group: debian
|
||||
mode: '600'
|
||||
|
||||
- name: Ensure sshd config is present
|
||||
ansible.builtin.copy:
|
||||
src: 'sshd_config'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue