mirror of
https://github.com/cwchristerw/tjas-infra
synced 2025-08-09 04:44:38 +00:00
Fix MariaDB tasks in Deployer tasks with adding conditions
This commit is contained in:
@@ -165,6 +165,11 @@
|
|||||||
loop_var: "user"
|
loop_var: "user"
|
||||||
when:
|
when:
|
||||||
- (deployerTaskM2 is defined and deployerTaskM2.changed) or deployerTaskM2 is undefined
|
- (deployerTaskM2 is defined and deployerTaskM2.changed) or deployerTaskM2 is undefined
|
||||||
|
- config.mariadb.users is defined
|
||||||
|
- config.mariadb.users[user] is defined
|
||||||
|
- config.mariadb.users[user].username is defined
|
||||||
|
- config.mariadb.users[user].password is defined
|
||||||
|
- config.mariadb.users[user].database is defined
|
||||||
tags:
|
tags:
|
||||||
- mariadb
|
- mariadb
|
||||||
|
|
||||||
@@ -180,6 +185,11 @@
|
|||||||
loop_var: "user"
|
loop_var: "user"
|
||||||
when:
|
when:
|
||||||
- (deployerTaskM2 is defined and deployerTaskM2.changed) or deployerTaskM2 is undefined
|
- (deployerTaskM2 is defined and deployerTaskM2.changed) or deployerTaskM2 is undefined
|
||||||
|
- config.mariadb.users is defined
|
||||||
|
- config.mariadb.users[user] is defined
|
||||||
|
- config.mariadb.users[user].username is defined
|
||||||
|
- config.mariadb.users[user].password is defined
|
||||||
|
- config.mariadb.users[user].database is defined
|
||||||
tags:
|
tags:
|
||||||
- mariadb
|
- mariadb
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user