summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/monitoring/icinga2_feature.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/modules/monitoring/icinga2_feature.py')
-rw-r--r--lib/ansible/modules/monitoring/icinga2_feature.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/monitoring/icinga2_feature.py b/lib/ansible/modules/monitoring/icinga2_feature.py
index f4e88ec19d..c85af1b108 100644
--- a/lib/ansible/modules/monitoring/icinga2_feature.py
+++ b/lib/ansible/modules/monitoring/icinga2_feature.py
@@ -103,7 +103,7 @@ class Icinga2FeatureHelper:
change_applied = True
# RC is not 0 for this already disabled feature, handle it as no change applied
elif re.search("Cannot disable feature '%s'. Target file .* does not exist"
- % self.module.params["name"]):
+ % self.module.params["name"]):
change_applied = False
else:
self.module.fail_json(msg="Fail to disable feature. Command returns %s" % out)