summaryrefslogtreecommitdiffstats
path: root/ansible/roles
diff options
context:
space:
mode:
authorSamuli Silvius <s.silvius@partner.samsung.com>2019-03-24 13:32:44 +0200
committerSamuli Silvius <s.silvius@partner.samsung.com>2019-03-24 13:32:44 +0200
commitba1fa174ee9b284ec1ed2f997dd95670eb63fa62 (patch)
tree536ae60b25556a4a689eaa437fc35f8c80078919 /ansible/roles
parentf842b36613c91f86dd371b590e048e5c4e510f34 (diff)
Fix idempotence for firewall role
Based on Molecule testing, fix idempotence. Issue-ID: OOM-1757 Change-Id: Ie2c4cdcf65aeac664d4b76daa7e979f4f23b6bdf Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Diffstat (limited to 'ansible/roles')
-rw-r--r--ansible/roles/firewall/tasks/firewall-disable.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible/roles/firewall/tasks/firewall-disable.yml b/ansible/roles/firewall/tasks/firewall-disable.yml
index f406d943..5f1ab537 100644
--- a/ansible/roles/firewall/tasks/firewall-disable.yml
+++ b/ansible/roles/firewall/tasks/firewall-disable.yml
@@ -13,3 +13,4 @@
- name: Flush iptables
iptables:
flush: true
+ changed_when: false # for idempotence