Convert include to include_tasks

Include is deprecated, additionally include_tasks is now faster.

Signed-off-by: Kevin Carter <kevin@cloudnull.com>
Change-Id: Ie443752e2e93a9aa4323425bdf0d9caf38a04281
This commit is contained in:
Kevin Carter 2022-09-03 21:14:15 -05:00
parent a5e9acc16d
commit 558b3f0875
2 changed files with 6 additions and 6 deletions

View File

@ -17,8 +17,8 @@
hosts: adjutant_all hosts: adjutant_all
user: root user: root
pre_tasks: pre_tasks:
- include: common-tasks/os-lxc-container-setup.yml - ansible.builtin.include_tasks: common-tasks/os-lxc-container-setup.yml
- include: common-tasks/os-log-dir-setup.yml - ansible.builtin.include_tasks: common-tasks/os-log-dir-setup.yml
vars: vars:
log_dirs: log_dirs:
- src: "/openstack/log/{{ inventory_hostname }}-adjutant" - src: "/openstack/log/{{ inventory_hostname }}-adjutant"

View File

@ -14,12 +14,12 @@
# limitations under the License. # limitations under the License.
# Setup the host # Setup the host
- include: common/test-setup-host.yml - ansible.builtin.include_tasks: common/test-setup-host.yml
# Install RabbitMQ/MariaDB # Install RabbitMQ/MariaDB
- include: common/test-install-infra.yml - ansible.builtin.include_tasks: common/test-install-infra.yml
# Install Keystone # Install Keystone
- include: common/test-install-keystone.yml - ansible.builtin.include_tasks: common/test-install-keystone.yml
- include: test-install-adjutant.yml - ansible.builtin.include_tasks: test-install-adjutant.yml