From 18c494db2bd5e1162dce452fba0a5499f150717c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Mon, 18 Apr 2022 11:39:36 +0200 Subject: [PATCH] fix: use strict comparisons on docker containers --- roles/nginx-fpm-proxy/tasks/main.yml | 2 ++ roles/server/tasks/main.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/roles/nginx-fpm-proxy/tasks/main.yml b/roles/nginx-fpm-proxy/tasks/main.yml index 8b1a4de..efa0798 100644 --- a/roles/nginx-fpm-proxy/tasks/main.yml +++ b/roles/nginx-fpm-proxy/tasks/main.yml @@ -34,3 +34,5 @@ networks: "{{ nextcloud_nginx_container_networks | default(omit) }}" restart_policy: "{{ nextcloud_nginx_container_restart_policy }}" state: started + comparisons: + "*": "strict" diff --git a/roles/server/tasks/main.yml b/roles/server/tasks/main.yml index b8be4cb..a17da0b 100644 --- a/roles/server/tasks/main.yml +++ b/roles/server/tasks/main.yml @@ -122,6 +122,8 @@ purge_networks: "{{ nextcloud_container_purge_other_networks }}" restart_policy: "{{ nextcloud_container_restart_policy }}" state: started + comparisons: + "*": "strict" - name: Enable systemd timer for nextcloud cron systemd: -- 2.45.2