aboutsummaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-10-30 13:17:20 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-10-30 13:17:20 +0200
commitd5b4cae435fe04c2370d515cbcf8d89b39366d8a (patch)
tree966d2c3f19327ad52ef386744743fbb9fac1958a /roles
parent7ce639a7fd31fca19c9cb0d6ea5b9fab01958daa (diff)
downloadansible_collection-d5b4cae435fe04c2370d515cbcf8d89b39366d8a.tar.gz
remove mandatory cert check
Diffstat (limited to 'roles')
-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