x
This commit is contained in:
+9
-8
@@ -227,14 +227,15 @@
|
|||||||
key: "{{ lookup('file', 'files/ssh-keys/hpf-ans.pub') }}"
|
key: "{{ lookup('file', 'files/ssh-keys/hpf-ans.pub') }}"
|
||||||
|
|
||||||
## New
|
## New
|
||||||
- name: first needs multiple authorized keys
|
- name: first needs multiple authorized keys
|
||||||
ansible.posix.authorized_key:
|
become: true
|
||||||
user: first
|
ansible.posix.authorized_key:
|
||||||
state: present
|
user: first
|
||||||
key: "{{ lookup('file', item) }}"
|
state: present
|
||||||
loop:
|
key: "{{ lookup('file', item) }}"
|
||||||
- files/ssh-keys/heath.pub
|
loop:
|
||||||
- files/ssh-keys/hpf-ans.pub
|
- files/ssh-keys/heath.pub
|
||||||
|
- files/ssh-keys/hpf-ans.pub
|
||||||
|
|
||||||
## New
|
## New
|
||||||
- name: heath needs heath's authorized_key
|
- name: heath needs heath's authorized_key
|
||||||
|
|||||||
Reference in New Issue
Block a user