Aggiunta task per autorizzazione chiave amgmt del server.
This commit is contained in:
parent
16cd728f3d
commit
36937aee2e
@ -23,4 +23,8 @@
|
|||||||
state: present
|
state: present
|
||||||
validate: "visudo -cf %s"
|
validate: "visudo -cf %s"
|
||||||
|
|
||||||
# TODO: implementare download e installazione della chiave pubblica
|
- name: Autorizzazione della chiave pubblica del server
|
||||||
|
authorized_key:
|
||||||
|
user: amgmt
|
||||||
|
key: "{{ lookup('pipe', 'curl -sSL http://' + serverfqdn + ':3001/mgmtkey') }}"
|
||||||
|
state: present
|
||||||
|
Loading…
x
Reference in New Issue
Block a user