Adattati script a doraemon.

This commit is contained in:
Emiliano Vavassori 2015-07-14 14:07:00 +02:00
parent 181c845e67
commit 2fd2f6ec79
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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