From fe34e6111e296dfcb8ccf5ded78f841723f44a4f Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Tue, 5 Jan 2021 22:35:26 +0100 Subject: [PATCH] mysql/database: Added tag mysql_database to all tasks --- roles/mysql/database/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/mysql/database/tasks/main.yml b/roles/mysql/database/tasks/main.yml index 5126128..8d45fcd 100644 --- a/roles/mysql/database/tasks/main.yml +++ b/roles/mysql/database/tasks/main.yml @@ -1,6 +1,8 @@ --- - meta: flush_handlers + tags: + - mysql_database - name: Create SQL user {{ database_user }} mysql_user: @@ -13,6 +15,8 @@ login_unix_socket: "{{ global_mysql_socket_path }}" login_user: root login_password: "{{ mysql_root_password }}" + tags: + - mysql_database - name: Create SQL database {{ database_name }} mysql_db: @@ -21,6 +25,8 @@ login_user: root login_password: "{{ mysql_root_password }}" register: create_database + tags: + - mysql_database - name: Import SQL database template on creation include_tasks: