You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--write changes poll: 0 into poll: 00 for iptables_state
Issue Type
Bug Report
Ansible and Ansible Lint details
ansible --versionansible [core 2.12.3]ansible-lint --versionansible-lint 6.0.3.dev10 using ansible 2.12.3
STEPS TO REPRODUCE
ansible-lint --write
This task straight from the documentation triggers the issue.
Before:
---
- hosts: somehost
tasks:
# This will load a state from a file, with a rollback in case of access loss
- name: restore firewall state from a file
community.general.iptables_state:
state: restored
path: /run/iptables.apply
async: "{{ ansible_timeout }}"
poll: 0
After:
---
- hosts: somehost
tasks:
# This will load a state from a file, with a rollback in case of access loss
- name: restore firewall state from a file
community.general.iptables_state:
state: restored
path: /run/iptables.apply
async: "{{ ansible_timeout }}"
poll: 00
Desired Behavior
poll: 0
Actual Behavior
poll: 00
The text was updated successfully, but these errors were encountered:
* add test for wrongly detecting zero as octal
Regression tests for issue number #2071.
* Do not rewrite zero as octal
Fixes: #2071
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
Summary
--write changes poll: 0 into poll: 00 for iptables_state
Issue Type
Ansible and Ansible Lint details
STEPS TO REPRODUCE
This task straight from the documentation triggers the issue.
Before:
After:
Desired Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: