Adattati script a doraemon.
This commit is contained in:
parent
181c845e67
commit
2fd2f6ec79
@ -26,5 +26,5 @@
|
||||
- name: Autorizzazione della chiave pubblica del server
|
||||
authorized_key:
|
||||
user: amgmt
|
||||
key: "{{ lookup('pipe', 'curl -sSL http://' + serverfqdn + ':3001/mgmtkey') }}"
|
||||
key: "{{ lookup('pipe', 'curl -sSL http://' + serverfqdn + ':3000/mgmtkey') }}"
|
||||
state: present
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
- name: Download impostazioni dominio
|
||||
get_url:
|
||||
url: "http://{{ ansible_default_ipv4.gateway }}:3001/domain"
|
||||
url: "http://{{ ansible_default_ipv4.gateway }}:3000/domain"
|
||||
dest: /etc/domain.yml
|
||||
owner: root
|
||||
mode: 0644
|
||||
|
Loading…
x
Reference in New Issue
Block a user