Deploy ssh authorized keys
This commit is contained in:
parent
9d03496f02
commit
906868f34e
4 changed files with 25 additions and 0 deletions
|
|
@ -1,3 +1,11 @@
|
|||
- name: Create ssh key directory
|
||||
ansible.builtin.file:
|
||||
path: /etc/ssh/www_authorized_keys
|
||||
owner: root
|
||||
group: root
|
||||
state: directory
|
||||
mode: "0755"
|
||||
|
||||
- name: Setup tenants
|
||||
loop: "{{ php_tenants|dict2items(key_name='name', value_name='options') }}"
|
||||
loop_control:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue