Make openstack-service-setup compatible with older ansible
This change allows this playbook to be run using an older version of ansible. This change is necessary for my use case where I am running all OSA and related playbooks in a docker container locally for a Newton deploy. The use of Newton OSA's ansible bootstrap script means that the openstack-ansible my workflow uses requires Ansible 2.1, which does not support `include_tasks`. This change addresses that problem by replacing `include_tasks` in the playbook that needs to be run using openstack-ansible with `include` which produces the desired result. Change-Id: I8b2a0217e851d022ee40cbdd8bc8045e18d5a07d
This commit is contained in:
parent
1d6c01ee57
commit
53fe850aa3
@ -110,7 +110,7 @@
|
||||
- create_networks
|
||||
|
||||
# Install some Linux system images
|
||||
- include_tasks: "{{ playbook_dir }}/openstack-image-setup.yml"
|
||||
- include: "{{ playbook_dir }}/openstack-image-setup.yml"
|
||||
with_items: "{{ images }}"
|
||||
tags:
|
||||
- create_images
|
||||
|
Loading…
Reference in New Issue
Block a user