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 @@
changed_when: false
failed_when: false
- include: install.yml
- import_tasks: install.yml
when: mysql_available.stdout == ''
- name: "MySQL | Update required packages"
......@@ -68,7 +68,7 @@
group='root'
mode='644'
- include: user.yml
- import_tasks: user.yml
- name: "MySQL | Remove the MySQL test database"
mysql_db:
......@@ -76,13 +76,13 @@
state='absent'
notify: "MySQL | Restart MySQL"
- include: master.yml
- import_tasks: master.yml
when: mysql_repl_master
- include: slave.yml
- import_tasks: slave.yml
when: mysql_repl_slave
- include: backup.yml
- import_tasks: backup.yml
tags: 'cron'
- name: "MySQL | Copy Tuning Scripts"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment