x
This commit is contained in:
+9
-8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user