EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit d538312b authored by Nicolas Baudoin's avatar Nicolas Baudoin
Browse files

Minor change in conditions

parent 4f345b25
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,7 @@
('LoginOIDC', 'redirectUriOverride', '{{ loginoidc.redirect_uri_override }}', '', 0),
('LoginOIDC', 'allowedSignupDomains', '{{ loginoidc.allowed_signup_domains }}', '', 0)
ON DUPLICATE KEY UPDATE setting_value=VALUES(setting_value);
when: (piwik_oidc_table.query_result[0] | length == 0) and mariadb_matomo
when: mariadb_matomo
### Update in case it's needed
- name: Update LoginOIDC plugin settings in Matomo
......@@ -117,8 +117,7 @@
ELSE setting_value
END
WHERE plugin_name = 'LoginOIDC';
when: mariadb_matomo # or any other condition that fits your requirements
ignore_errors: no
register: update_result
when: mariadb_matomo
# register: update_result
########## MATOMO END############
\ No newline at end of file
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