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: Id7acc3fe99f8901a374894be3afdf467b7fed131
This commit is contained in:
parent
192b740d96
commit
7b86d4cd34
|
@ -4,13 +4,13 @@
|
||||||
OS_CLOUD: devstack-admin
|
OS_CLOUD: devstack-admin
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: ssh-key.yaml
|
- include_tasks: ssh-key.yaml
|
||||||
|
|
||||||
- include: cirros-image.yaml
|
- include_tasks: cirros-image.yaml
|
||||||
when: metalsmith_whole_disk_image is not defined
|
when: metalsmith_whole_disk_image is not defined
|
||||||
|
|
||||||
- name: Test a whole-disk image
|
- name: Test a whole-disk image
|
||||||
include: exercise.yaml
|
include_tasks: exercise.yaml
|
||||||
vars:
|
vars:
|
||||||
metalsmith_image: "{{ metalsmith_whole_disk_image }}"
|
metalsmith_image: "{{ metalsmith_whole_disk_image }}"
|
||||||
metalsmith_image_checksum: "{{ metalsmith_whole_disk_checksum | default('') }}"
|
metalsmith_image_checksum: "{{ metalsmith_whole_disk_checksum | default('') }}"
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
metalsmith_swap_size:
|
metalsmith_swap_size:
|
||||||
|
|
||||||
- name: Test a partition image
|
- name: Test a partition image
|
||||||
include: exercise.yaml
|
include_tasks: exercise.yaml
|
||||||
vars:
|
vars:
|
||||||
metalsmith_image: "{{ metalsmith_partition_image }}"
|
metalsmith_image: "{{ metalsmith_partition_image }}"
|
||||||
metalsmith_image_checksum: "{{ metalsmith_partition_checksum | default('') }}"
|
metalsmith_image_checksum: "{{ metalsmith_partition_checksum | default('') }}"
|
||||||
|
|
Loading…
Reference in New Issue