Skip to content
This repository was archived by the owner on Jul 7, 2020. It is now read-only.

Commit 932646e

Browse files
committed
vagrant/ansible: use 'include_tasks' instead of 'include'
Ansible complains that 'include' is deprecated: [DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. Instead of 'include', use 'include_tasks'. Signed-off-by: Niels de Vos <ndevos@redhat.com>
1 parent 571d5cb commit 932646e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vagrant/roles/master/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
- include: gcr_proxy.yml
1+
- include_tasks: gcr_proxy.yml
22
when:
33
- custom_registry is defined
44
- custom_registry_gcr | default(false)

vagrant/roles/nodes/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
- name: Open ports 49152-49251 (GlusterFS bricks)
1717
firewalld: port=49152-49251/tcp zone=trusted permanent=true state=enabled immediate=true
1818

19-
- include: gcr_proxy.yml
19+
- include_tasks: gcr_proxy.yml
2020
when:
2121
- custom_registry is defined
2222
- custom_registry_gcr | default(false)

0 commit comments

Comments
 (0)