use include_tasks instead of include

Change-Id: Ida8caa3c714767d785a45e2efc039e97be878778
This commit is contained in:
caoyuan 2018-07-24 18:58:06 +08:00
parent 7a7e2be173
commit bcba7cf1eb
3 changed files with 12 additions and 12 deletions

View File

@ -20,9 +20,9 @@
tags:
- panko
pre_tasks:
- include: common-tasks/os-lxc-container-setup.yml
- include_tasks: common-tasks/os-lxc-container-setup.yml
- include: common-tasks/os-log-dir-setup.yml
- include_tasks: common-tasks/os-log-dir-setup.yml
vars:
log_dirs:
- src: "/openstack/log/{{ inventory_hostname }}-panko"

View File

@ -32,28 +32,28 @@
tags:
- always
- include: panko_pre_install.yml
- include_tasks: panko_pre_install.yml
tags:
- panko-install
- include: panko_install.yml
- include_tasks: panko_install.yml
tags:
- panko-install
- include: panko_post_install.yml
- include_tasks: panko_post_install.yml
tags:
- panko-config
- include: panko_db_setup.yml
- include_tasks: panko_db_setup.yml
when: inventory_hostname == groups['panko_all'][0]
tags:
- panko-config
- include: panko_apache.yml
- include_tasks: panko_apache.yml
tags:
- panko-config
- include: panko_service_setup.yml
- include_tasks: panko_service_setup.yml
when: inventory_hostname == groups['panko_api'][0]
tags:
- panko-config

View File

@ -14,14 +14,14 @@
# limitations under the License.
# Setup the host
- include: common/test-setup-host.yml
- import_playbook: common/test-setup-host.yml
# Install 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 panko
- include: test-install-panko.yml
- import_playbook: test-install-panko.yml