Gather facts in set_hostname playbook
The set_hostname playbook, used by the launch-node script, needs facts to determine which package manager it should use to uninstall cloud-init. Remove the line which disabled fact gathering so that we can build servers again. Change-Id: Ic971d456f6d04273c9b981518614130e9b1c5898
This commit is contained in:
parent
d03a78ddc0
commit
de49ff43b0
@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
# file: set_hostnames.yml
|
# file: set_hostnames.yml
|
||||||
- hosts: "{{ target }}"
|
- hosts: "{{ target }}"
|
||||||
gather_facts: no
|
|
||||||
user: root
|
user: root
|
||||||
roles:
|
roles:
|
||||||
- { role: set_hostname }
|
- { role: set_hostname }
|
||||||
|
Loading…
Reference in New Issue
Block a user