Aggiunta task per autorizzazione chiave amgmt del server.

This commit is contained in:
Emiliano Vavassori 2015-07-08 02:16:16 +02:00
parent 16cd728f3d
commit 36937aee2e
1 changed files with 5 additions and 1 deletions

View File

@ -23,4 +23,8 @@
state: present
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