From 4fb49dd6c90786ba3dd10e97e6fb368b1fc7f0ca Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Wed, 7 Feb 2024 15:39:05 +0100 Subject: [PATCH] nginx: clarify intent regarding check mode --- nginx/tasks/munin_vhost.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nginx/tasks/munin_vhost.yml b/nginx/tasks/munin_vhost.yml index eb08cd72..2c9261f4 100644 --- a/nginx/tasks/munin_vhost.yml +++ b/nginx/tasks/munin_vhost.yml @@ -30,7 +30,10 @@ ansible.builtin.copy: src: systemd/spawn-fcgi-munin-graph.service dest: /etc/systemd/system/spawn-fcgi-munin-graph.service + force: yes +# WARN: there is no (apparent) way to check if the service exists +# so we disable this task in check mode. - name: Systemd unit for Munin-fcgi is started ansible.builtin.systemd: name: spawn-fcgi-munin-graph