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