aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roles/apache/tasks/main.yml2
-rw-r--r--roles/mariadb/tasks/main.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/apache/tasks/main.yml b/roles/apache/tasks/main.yml
index e60ed65..17a0909 100644
--- a/roles/apache/tasks/main.yml
+++ b/roles/apache/tasks/main.yml
@@ -41,7 +41,7 @@
- name: Check for changed cert
command: /bin/true
when:
- - cert_changed
+ - '{{ cert_changed | default(False) }}'
notify:
- Restart apache
diff --git a/roles/mariadb/tasks/main.yml b/roles/mariadb/tasks/main.yml
index 239affe..6aa1900 100644
--- a/roles/mariadb/tasks/main.yml
+++ b/roles/mariadb/tasks/main.yml
@@ -18,7 +18,7 @@
- name: Check for changed cert
command: /bin/true
when:
- - cert_changed
+ - '{{ cert_changed | default(False) }}'
notify:
- Restart MariaDB