use include_tasks instead of include
include is marked as deprecated since ansible 2.4[0] Switch to include_tasks or import_playbook as necessary [0] https://docs.ansible.com/ansible/2.4/include_module.html#deprecated Change-Id: Icd18450a618e35ea506c25507f08133547394b87
This commit is contained in:
parent
5ada5982c9
commit
36de37b3ab
@ -40,23 +40,23 @@
|
||||
tags:
|
||||
- always
|
||||
|
||||
- include: tacker_pre_install.yml
|
||||
- include_tasks: tacker_pre_install.yml
|
||||
tags:
|
||||
- tacker-install
|
||||
- include: tacker_install.yml
|
||||
- include_tasks: tacker_install.yml
|
||||
tags:
|
||||
- tacker-install
|
||||
|
||||
- include: tacker_install.yml
|
||||
- include_tasks: tacker_install.yml
|
||||
tags:
|
||||
- tacker-install
|
||||
|
||||
- include: tacker_post_install.yml
|
||||
- include_tasks: tacker_post_install.yml
|
||||
tags:
|
||||
- tacker-install
|
||||
- tacker-config
|
||||
|
||||
- include: tacker_init.yml
|
||||
- include_tasks: tacker_init.yml
|
||||
tags:
|
||||
- tacker-install
|
||||
|
||||
@ -91,7 +91,7 @@
|
||||
- tacker-install
|
||||
|
||||
#NOTE: comment for now
|
||||
#- include: tacker_horizon.yml
|
||||
#- include_tasks: tacker_horizon.yml
|
||||
#when: >
|
||||
#inventory_hostname == groups['tacker_all'][0]
|
||||
#tags:
|
||||
|
@ -15,7 +15,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- include: tacker_init_common.yml
|
||||
- include_tasks: tacker_init_common.yml
|
||||
vars:
|
||||
program_name: "{{ tacker_program_name }}"
|
||||
service_name: "{{ tacker_service_name }}"
|
||||
|
@ -15,10 +15,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- include: tacker_init_upstart.yml
|
||||
- include_tasks: tacker_init_upstart.yml
|
||||
when: pid1_name == "init"
|
||||
|
||||
- include: tacker_init_systemd.yml
|
||||
- include_tasks: tacker_init_systemd.yml
|
||||
when: pid1_name == "systemd"
|
||||
|
||||
- name: Load service
|
||||
|
@ -14,16 +14,16 @@
|
||||
# limitations under the License.
|
||||
|
||||
# Setup the host
|
||||
- include: common/test-setup-host.yml
|
||||
- import_playbook: common/test-setup-host.yml
|
||||
|
||||
# Install RabbitMQ/MariaDB
|
||||
- include: common/test-install-infra.yml
|
||||
- import_playbook: common/test-install-infra.yml
|
||||
|
||||
# Install Keystone
|
||||
- include: common/test-install-keystone.yml
|
||||
- import_playbook: common/test-install-keystone.yml
|
||||
|
||||
# Install Tacker
|
||||
- include: test-install-tacker.yml
|
||||
- import_playbook: test-install-tacker.yml
|
||||
|
||||
# Test Tacker
|
||||
- include: test-tacker-functional.yml
|
||||
- import_playbook: test-tacker-functional.yml
|
||||
|
Loading…
Reference in New Issue
Block a user