Skip to content

Commit 29ae036

Browse files
committed
Fixes geerlingguy#251: Fix Ansible 2.4+ deprecation warnings for include and static.
1 parent 92e953a commit 29ae036

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

tasks/main.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
---
22
# Variable configuration.
3-
- include: variables.yml
3+
- include_tasks: variables.yml
44

55
# Setup/install tasks.
6-
- include: setup-RedHat.yml
6+
- include_tasks: setup-RedHat.yml
77
when: ansible_os_family == 'RedHat'
8-
static: no
98

10-
- include: setup-Debian.yml
9+
- include_tasks: setup-Debian.yml
1110
when: ansible_os_family == 'Debian'
12-
static: no
1311

14-
- include: setup-Archlinux.yml
12+
- include_tasks: setup-Archlinux.yml
1513
when: ansible_os_family == 'Archlinux'
16-
static: no
1714

1815
- name: Check if MySQL packages were installed.
1916
set_fact:
@@ -22,8 +19,8 @@
2219
or (arch_mysql_install_packages is defined and arch_mysql_install_packages.changed) }}"
2320

2421
# Configure MySQL.
25-
- include: configure.yml
26-
- include: secure-installation.yml
27-
- include: databases.yml
28-
- include: users.yml
29-
- include: replication.yml
22+
- include_tasks: configure.yml
23+
- include_tasks: secure-installation.yml
24+
- include_tasks: databases.yml
25+
- include_tasks: users.yml
26+
- include_tasks: replication.yml

0 commit comments

Comments
 (0)