Refresh Ansible facts after installing packages
this will help when running ironic install against a clean remote node, as for example, in testing mode virtual interfaces will be created only after libvirt installation and will not be part of ansible facts until facts are refreshed. Change-Id: Ied18741dafe53bd32064548b88d5f05f86b76410
This commit is contained in:
parent
4bc5e055ce
commit
29a7f96b7f
@ -55,6 +55,10 @@
|
|||||||
include: install.yml
|
include: install.yml
|
||||||
when: skip_package_install | bool != True
|
when: skip_package_install | bool != True
|
||||||
|
|
||||||
|
# NOTE(pas-ha) needed to e.g. pick up new interfaces after libvirt install
|
||||||
|
- name: "Refresh facts"
|
||||||
|
setup:
|
||||||
|
|
||||||
- name: "Bootstrap Ironic"
|
- name: "Bootstrap Ironic"
|
||||||
include: bootstrap.yml
|
include: bootstrap.yml
|
||||||
when: skip_bootstrap | bool != True
|
when: skip_bootstrap | bool != True
|
||||||
|
Loading…
Reference in New Issue
Block a user