mysql/database: rewrote usage of include_tasks to be better compatible with tags

master
Felix Stupp 4 years ago
parent 288c4175d6
commit 9fd183bbac
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -23,5 +23,14 @@
register: create_database register: create_database
- name: Import SQL database template on creation - name: Import SQL database template on creation
include_tasks: import.yml include_tasks:
when: create_database.changed and database_template is defined file: import.yml
apply:
tags:
- mysql_database
when:
- create_database is defined
- create_database.changed
- database_template is defined
tags:
- always

Loading…
Cancel
Save