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
In check mode, set firewalld default zone fails with this error:
The conditional check 'defaultzone.stdout != default_zone' failed. The error was: error while evaluating conditional (defaultzone.stdout != default_zone): 'dict object' has no attribute 'stdout'
because the tasks is skipped.
To prevent this, you should add check_mode: no into the task :
- name: get actual firewalld default zone
command: /bin/firewall-cmd --get-default-zone
register: defaultzone
changed_when: false
check_mode: no
tags: firewalld
Thx
The text was updated successfully, but these errors were encountered:
In check mode, set firewalld default zone fails with this error:
The conditional check 'defaultzone.stdout != default_zone' failed. The error was: error while evaluating conditional (defaultzone.stdout != default_zone): 'dict object' has no attribute 'stdout'
because the tasks is skipped.
To prevent this, you should add
check_mode: no
into the task :Thx
The text was updated successfully, but these errors were encountered: