kayobe/ansible/disable-cloud-init.yml
Mark Goddard 71f493db77 Don't restart cloud-init when disabling it
Change-Id: I6e3ebdfc739d155c0953d43c878247fc590901c6
Story: 2001697
2018-03-20 10:43:02 +00:00

13 lines
409 B
YAML

---
# Cloud-init searches for network configuration in order of
# increasing precedence; each item overriding the previous.
# In some cases cloud-init reconfigure automatically network interface
# and cause some issues in network configuration
- name: Disable Cloud-init service
hosts: overcloud
tags:
- disable-cloud-init
roles:
- role: disable-cloud-init
when: disable_cloud_init | bool