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:
|
tags:
|
||||||
- always
|
- always
|
||||||
|
|
||||||
- include: tacker_pre_install.yml
|
- include_tasks: tacker_pre_install.yml
|
||||||
tags:
|
tags:
|
||||||
- tacker-install
|
- tacker-install
|
||||||
- include: tacker_install.yml
|
- include_tasks: tacker_install.yml
|
||||||
tags:
|
tags:
|
||||||
- tacker-install
|
- tacker-install
|
||||||
|
|
||||||
- include: tacker_install.yml
|
- include_tasks: tacker_install.yml
|
||||||
tags:
|
tags:
|
||||||
- tacker-install
|
- tacker-install
|
||||||
|
|
||||||
- include: tacker_post_install.yml
|
- include_tasks: tacker_post_install.yml
|
||||||
tags:
|
tags:
|
||||||
- tacker-install
|
- tacker-install
|
||||||
- tacker-config
|
- tacker-config
|
||||||
|
|
||||||
- include: tacker_init.yml
|
- include_tasks: tacker_init.yml
|
||||||
tags:
|
tags:
|
||||||
- tacker-install
|
- tacker-install
|
||||||
|
|
||||||
@ -91,7 +91,7 @@
|
|||||||
- tacker-install
|
- tacker-install
|
||||||
|
|
||||||
#NOTE: comment for now
|
#NOTE: comment for now
|
||||||
#- include: tacker_horizon.yml
|
#- include_tasks: tacker_horizon.yml
|
||||||
#when: >
|
#when: >
|
||||||
#inventory_hostname == groups['tacker_all'][0]
|
#inventory_hostname == groups['tacker_all'][0]
|
||||||
#tags:
|
#tags:
|
||||||
|
@ -15,7 +15,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: tacker_init_common.yml
|
- include_tasks: tacker_init_common.yml
|
||||||
vars:
|
vars:
|
||||||
program_name: "{{ tacker_program_name }}"
|
program_name: "{{ tacker_program_name }}"
|
||||||
service_name: "{{ tacker_service_name }}"
|
service_name: "{{ tacker_service_name }}"
|
||||||
|
@ -15,10 +15,10 @@
|
|||||||
# 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: tacker_init_upstart.yml
|
- include_tasks: tacker_init_upstart.yml
|
||||||
when: pid1_name == "init"
|
when: pid1_name == "init"
|
||||||
|
|
||||||
- include: tacker_init_systemd.yml
|
- include_tasks: tacker_init_systemd.yml
|
||||||
when: pid1_name == "systemd"
|
when: pid1_name == "systemd"
|
||||||
|
|
||||||
- name: Load service
|
- name: Load service
|
||||||
|
@ -14,16 +14,16 @@
|
|||||||
# 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 Tacker
|
# Install Tacker
|
||||||
- include: test-install-tacker.yml
|
- import_playbook: test-install-tacker.yml
|
||||||
|
|
||||||
# Test Tacker
|
# Test Tacker
|
||||||
- include: test-tacker-functional.yml
|
- import_playbook: test-tacker-functional.yml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user