summaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-12-15 12:03:05 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-12-15 12:03:05 +0100
commit8c72a1a8675fe190558e53cd7b61a92489ec92bf (patch)
treeb93e28065ec6745183bbbee4b67748b88d9a8fc7 /ansible
parent03fcc590facc75a9f58626d577f222192edece60 (diff)
[ANSIBLE] Fix idempotence deficiencies in 'firewall' and 'nexus' role
Change-Id: Id154423650483512aa04607f60b4001807be6721 Issue-ID: OOM-2237 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/firewall/tasks/firewall-disable.yml2
-rw-r--r--ansible/roles/nexus/tasks/insert-images.yml1
2 files changed, 1 insertions, 2 deletions
diff --git a/ansible/roles/firewall/tasks/firewall-disable.yml b/ansible/roles/firewall/tasks/firewall-disable.yml
index 5f1ab537..af8d4a1e 100644
--- a/ansible/roles/firewall/tasks/firewall-disable.yml
+++ b/ansible/roles/firewall/tasks/firewall-disable.yml
@@ -13,4 +13,4 @@
- name: Flush iptables
iptables:
flush: true
- changed_when: false # for idempotence
+ tags: molecule-idempotence-notest
diff --git a/ansible/roles/nexus/tasks/insert-images.yml b/ansible/roles/nexus/tasks/insert-images.yml
index bf1a7fa6..44b8272d 100644
--- a/ansible/roles/nexus/tasks/insert-images.yml
+++ b/ansible/roles/nexus/tasks/insert-images.yml
@@ -19,4 +19,3 @@
load_path: "{{ item.path }}"
source: load
timeout: 120
- changed_when: false # for idempotence