Skip to content
Snippets Groups Projects
Commit 79c733c4 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#72 Always use import_tasks or include_tasks instead of just include

parent 1bfcff5c
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
changed_when: false changed_when: false
failed_when: false failed_when: false
- include: install.yml - import_tasks: install.yml
when: mysql_available.stdout == '' when: mysql_available.stdout == ''
- name: "MySQL | Update required packages" - name: "MySQL | Update required packages"
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
group='root' group='root'
mode='644' mode='644'
- include: user.yml - import_tasks: user.yml
- name: "MySQL | Remove the MySQL test database" - name: "MySQL | Remove the MySQL test database"
mysql_db: mysql_db:
...@@ -76,13 +76,13 @@ ...@@ -76,13 +76,13 @@
state='absent' state='absent'
notify: "MySQL | Restart MySQL" notify: "MySQL | Restart MySQL"
- include: master.yml - import_tasks: master.yml
when: mysql_repl_master when: mysql_repl_master
- include: slave.yml - import_tasks: slave.yml
when: mysql_repl_slave when: mysql_repl_slave
- include: backup.yml - import_tasks: backup.yml
tags: 'cron' tags: 'cron'
- name: "MySQL | Copy Tuning Scripts" - name: "MySQL | Copy Tuning Scripts"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment