Deploy ssh authorized keys

This commit is contained in:
Julian Rother 2025-01-21 21:01:36 +01:00
parent 9d03496f02
commit 906868f34e
Signed by: julian
GPG key ID: C19B924C0CD13341
4 changed files with 25 additions and 0 deletions

View file

@ -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: