Closed measurabl-robot closed 7 years ago
@LinusU ping, this issue is waiting for your response. click here for bot help
needs_contributor
Workaround: when: "{{ ansible_check_mode == false }}"
This repository has been locked. All new issues and pull requests should be filed in https://github.com/ansible/ansible
Please read through the repomerge page in the dev guide. The guide contains links to tools which automatically move your issue or pull request to the ansible/ansible repo.
This issue was migrated to https://github.com/ansible/ansible/issues/29426
ISSUE TYPE
COMPONENT NAME
iptables
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
From: OS X To: Ubuntu 14.04
SUMMARY
iptables module with
flush=true
does not respect--check
flag, it makes changes - purging iptables - on remote system.STEPS TO REPRODUCE
Run playbook containing iptables flush=true task with
--check
.EXPECTED RESULTS
Task should be skipped
ACTUAL RESULTS
iptables are flushed on remote system