use include_tasks instead of include
include is marked as deprecated since ansible 2.4[0] [0] https://docs.ansible.com/ansible/2.4/include_module.html#deprecated Change-Id: I83c9ef75eac99edcc0da0880bd80635895802366
This commit is contained in:
parent
b686871752
commit
4930628136
@ -32,34 +32,33 @@
|
|||||||
tags:
|
tags:
|
||||||
- always
|
- always
|
||||||
|
|
||||||
- include: octavia_certs.yml
|
- include_tasks: octavia_certs.yml
|
||||||
static: no
|
|
||||||
when: octavia_generate_certs | bool
|
when: octavia_generate_certs | bool
|
||||||
tags:
|
tags:
|
||||||
- octavia-config
|
- octavia-config
|
||||||
|
|
||||||
- include: octavia_pre_install.yml
|
- include_tasks: octavia_pre_install.yml
|
||||||
tags:
|
tags:
|
||||||
- octavia-install
|
- octavia-install
|
||||||
|
|
||||||
- include: octavia_install.yml
|
- include_tasks: octavia_install.yml
|
||||||
tags:
|
tags:
|
||||||
- octavia-install
|
- octavia-install
|
||||||
|
|
||||||
- include: octavia_uwsgi.yml
|
- include_tasks: octavia_uwsgi.yml
|
||||||
tags:
|
tags:
|
||||||
- octavia-config
|
- octavia-config
|
||||||
|
|
||||||
- include: octavia_init_common.yml
|
- include_tasks: octavia_init_common.yml
|
||||||
tags:
|
tags:
|
||||||
- octavia-install
|
- octavia-install
|
||||||
|
|
||||||
- include: octavia_service_add.yml
|
- include_tasks: octavia_service_add.yml
|
||||||
run_once: true
|
run_once: true
|
||||||
tags:
|
tags:
|
||||||
- octavia-install
|
- octavia-install
|
||||||
|
|
||||||
- include: octavia_mgmt_network.yml
|
- include_tasks: octavia_mgmt_network.yml
|
||||||
run_once: true
|
run_once: true
|
||||||
when:
|
when:
|
||||||
- octavia_neutron_management_network_uuid is not defined
|
- octavia_neutron_management_network_uuid is not defined
|
||||||
@ -68,12 +67,12 @@
|
|||||||
- octavia-install
|
- octavia-install
|
||||||
- octavia-config
|
- octavia-config
|
||||||
|
|
||||||
- include: octavia_security_group.yml
|
- include_tasks: octavia_security_group.yml
|
||||||
run_once: true
|
run_once: true
|
||||||
tags:
|
tags:
|
||||||
- octavia-install
|
- octavia-install
|
||||||
|
|
||||||
- include: octavia_flavor_create.yml
|
- include_tasks: octavia_flavor_create.yml
|
||||||
run_once: true
|
run_once: true
|
||||||
when:
|
when:
|
||||||
- octavia_nova_flavor_uuid is not defined
|
- octavia_nova_flavor_uuid is not defined
|
||||||
@ -81,7 +80,7 @@
|
|||||||
- octavia-install
|
- octavia-install
|
||||||
- octavia-config
|
- octavia-config
|
||||||
|
|
||||||
- include: octavia_post_install.yml
|
- include_tasks: octavia_post_install.yml
|
||||||
tags:
|
tags:
|
||||||
- octavia-install
|
- octavia-install
|
||||||
- octavia-config
|
- octavia-config
|
||||||
@ -104,22 +103,21 @@
|
|||||||
- common-mq
|
- common-mq
|
||||||
- octavia-config
|
- octavia-config
|
||||||
|
|
||||||
- include: octavia_db_setup.yml
|
- include_tasks: octavia_db_setup.yml
|
||||||
when:
|
when:
|
||||||
- inventory_hostname == groups['octavia_all'][0]
|
- inventory_hostname == groups['octavia_all'][0]
|
||||||
tags:
|
tags:
|
||||||
- octavia-install
|
- octavia-install
|
||||||
|
|
||||||
- include: octavia_policy.yml
|
- include_tasks: octavia_policy.yml
|
||||||
tags:
|
tags:
|
||||||
- octavia-install
|
- octavia-install
|
||||||
- octavia-config
|
- octavia-config
|
||||||
|
|
||||||
- include: octavia_amp_image.yml
|
- include_tasks: octavia_amp_image.yml
|
||||||
run_once: true
|
run_once: true
|
||||||
tags:
|
tags:
|
||||||
- octavia-config
|
- octavia-config
|
||||||
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
- include: octavia_init_systemd.yml
|
- include_tasks: octavia_init_systemd.yml
|
||||||
when:
|
when:
|
||||||
- ansible_service_mgr == 'systemd'
|
- ansible_service_mgr == 'systemd'
|
||||||
|
|
||||||
|
@ -14,29 +14,29 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# Setup the host
|
# Setup the host
|
||||||
- include: common/test-setup-host.yml
|
- import_playbook: common/test-setup-host.yml
|
||||||
|
|
||||||
# Install RabbitMQ/MariaDB
|
# Install RabbitMQ/MariaDB
|
||||||
- include: common/test-install-infra.yml
|
- import_playbook: common/test-install-infra.yml
|
||||||
|
|
||||||
# Install Keystone
|
# Install Keystone
|
||||||
- include: common/test-install-keystone.yml
|
- import_playbook: common/test-install-keystone.yml
|
||||||
|
|
||||||
# Install Swift
|
# Install Swift
|
||||||
- include: common/test-install-swift.yml
|
- import_playbook: common/test-install-swift.yml
|
||||||
|
|
||||||
# Install Glance
|
# Install Glance
|
||||||
- include: common/test-install-glance.yml
|
- import_playbook: common/test-install-glance.yml
|
||||||
|
|
||||||
# Install Neutron
|
# Install Neutron
|
||||||
- include: common/test-install-neutron.yml
|
- import_playbook: common/test-install-neutron.yml
|
||||||
|
|
||||||
# Install Nova
|
# Install Nova
|
||||||
- include: common/test-install-nova.yml
|
- import_playbook: common/test-install-nova.yml
|
||||||
|
|
||||||
# Install Octavia
|
# Install Octavia
|
||||||
- include: test-install-octavia.yml
|
- import_playbook: test-install-octavia.yml
|
||||||
|
|
||||||
# Test
|
# Test
|
||||||
- include: test-octavia.yml
|
- import_playbook: test-octavia.yml
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user