This commit is contained in:
2026-07-25 12:19:02 -05:00
parent 94fc56674f
commit bb65f915a7
4 changed files with 9 additions and 8 deletions
+9 -8
View File
@@ -227,14 +227,15 @@
key: "{{ lookup('file', 'files/ssh-keys/hpf-ans.pub') }}"
## New
- name: first needs multiple authorized keys
ansible.posix.authorized_key:
user: first
state: present
key: "{{ lookup('file', item) }}"
loop:
- files/ssh-keys/heath.pub
- files/ssh-keys/hpf-ans.pub
- name: first needs multiple authorized keys
become: true
ansible.posix.authorized_key:
user: first
state: present
key: "{{ lookup('file', item) }}"
loop:
- files/ssh-keys/heath.pub
- files/ssh-keys/hpf-ans.pub
## New
- name: heath needs heath's authorized_key