Switch install-docker playbook to include_tasks

The old include directive is deprecated in ansible-core 2.15 and
will cease to be recognized in 2.16 according to
https://docs.ansible.com/ansible-core/2.15/user_guide/playbooks_reuse_includes.html
so switch the two remaining uses of it in this repository to
include-tasks instead.

Change-Id: I427e8aa8dd789f13b8501806ec175951db337fec
This commit is contained in:
Jeremy Stanley 2023-12-06 13:55:50 +00:00
parent 73124ce1db
commit 9876445f0a

View File

@ -5,11 +5,11 @@
path: /etc/docker
- name: Install docker-ce from upstream
include: upstream.yaml
include_tasks: upstream.yaml
when: use_upstream_docker|bool
- name: Install docker-engine from distro
include: distro.yaml
include_tasks: distro.yaml
when: not use_upstream_docker|bool
- name: reset ssh connection to pick up docker group