Formatting '/cache/centos-7.qcow2c.snap', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=8589934592 backing_file=/cache/centos-7.qcow2c backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpe2xtogrr executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-7_setup.yml *************************************************** 1 plays in /cache/centos-7_setup.yml PLAY [Set up host for test playbooks] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /cache/centos-7_setup.yml:1 Thursday 23 June 2022 20:33:04 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Create EPEL 7 repo] ****************************************************** task path: /cache/centos-7_setup.yml:5 Thursday 23 June 2022 20:33:05 +0000 (0:00:01.070) 0:00:01.083 ********* changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Create yum cache] ******************************************************** task path: /cache/centos-7_setup.yml:15 Thursday 23 June 2022 20:33:07 +0000 (0:00:02.181) 0:00:03.264 ********* changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Create dnf cache] ******************************************************** task path: /cache/centos-7_setup.yml:21 Thursday 23 June 2022 20:33:57 +0000 (0:00:49.565) 0:00:52.830 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Disable EPEL 7] ********************************************************** task path: /cache/centos-7_setup.yml:27 Thursday 23 June 2022 20:33:57 +0000 (0:00:00.024) 0:00:52.854 ********* changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Disable EPEL 8] ********************************************************** task path: /cache/centos-7_setup.yml:35 Thursday 23 June 2022 20:33:57 +0000 (0:00:00.498) 0:00:53.353 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=4 changed=3 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Thursday 23 June 2022 20:33:57 +0000 (0:00:00.031) 0:00:53.384 ********* =============================================================================== Create yum cache ------------------------------------------------------- 49.57s /cache/centos-7_setup.yml:15 -------------------------------------------------- Create EPEL 7 repo ------------------------------------------------------ 2.18s /cache/centos-7_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.07s /cache/centos-7_setup.yml:1 --------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.50s /cache/centos-7_setup.yml:27 -------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-7_setup.yml:35 -------------------------------------------------- Create dnf cache -------------------------------------------------------- 0.02s /cache/centos-7_setup.yml:21 -------------------------------------------------- PLAYBOOK: setup-snapshot.yml *************************************************** 1 plays in /tmp/tmpaiuxunkc/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpaiuxunkc/tests/setup-snapshot.yml:1 Thursday 23 June 2022 20:33:57 +0000 (0:00:00.012) 0:00:53.396 ********* ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Set platform/version specific variables] ********************************* task path: /tmp/tmpaiuxunkc/tests/setup-snapshot.yml:3 Thursday 23 June 2022 20:33:58 +0000 (0:00:00.713) 0:00:54.109 ********* TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:33:58 +0000 (0:00:00.033) 0:00:54.143 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 23 June 2022 20:33:58 +0000 (0:00:00.406) 0:00:54.549 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "firewalld" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirrors.cmich.edu\n * extras: mirror.pit.teraswitch.com\n * updates: ftpmirror.your.org\nResolving Dependencies\n--> Running transaction check\n---> Package firewalld.noarch 0:0.6.3-13.el7_9 will be installed\n--> Processing Dependency: python-firewall = 0.6.3-13.el7_9 for package: firewalld-0.6.3-13.el7_9.noarch\n--> Processing Dependency: firewalld-filesystem = 0.6.3-13.el7_9 for package: firewalld-0.6.3-13.el7_9.noarch\n--> Processing Dependency: ipset for package: firewalld-0.6.3-13.el7_9.noarch\n--> Processing Dependency: ebtables for package: firewalld-0.6.3-13.el7_9.noarch\n--> Running transaction check\n---> Package ebtables.x86_64 0:2.0.10-16.el7 will be installed\n---> Package firewalld-filesystem.noarch 0:0.6.3-13.el7_9 will be installed\n---> Package ipset.x86_64 0:7.1-1.el7 will be installed\n--> Processing Dependency: ipset-libs(x86-64) = 7.1-1.el7 for package: ipset-7.1-1.el7.x86_64\n--> Processing Dependency: libipset.so.13(LIBIPSET_4.8)(64bit) for package: ipset-7.1-1.el7.x86_64\n--> Processing Dependency: libipset.so.13(LIBIPSET_2.0)(64bit) for package: ipset-7.1-1.el7.x86_64\n--> Processing Dependency: libipset.so.13()(64bit) for package: ipset-7.1-1.el7.x86_64\n---> Package python-firewall.noarch 0:0.6.3-13.el7_9 will be installed\n--> Processing Dependency: python-slip-dbus for package: python-firewall-0.6.3-13.el7_9.noarch\n--> Running transaction check\n---> Package ipset-libs.x86_64 0:7.1-1.el7 will be installed\n---> Package python-slip-dbus.noarch 0:0.4.0-4.el7 will be installed\n--> Processing Dependency: python-slip = 0.4.0-4.el7 for package: python-slip-dbus-0.4.0-4.el7.noarch\n--> Running transaction check\n---> Package python-slip.noarch 0:0.4.0-4.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n firewalld noarch 0.6.3-13.el7_9 updates 449 k\nInstalling for dependencies:\n ebtables x86_64 2.0.10-16.el7 base 123 k\n firewalld-filesystem noarch 0.6.3-13.el7_9 updates 51 k\n ipset x86_64 7.1-1.el7 base 39 k\n ipset-libs x86_64 7.1-1.el7 base 64 k\n python-firewall noarch 0.6.3-13.el7_9 updates 355 k\n python-slip noarch 0.4.0-4.el7 base 31 k\n python-slip-dbus noarch 0.4.0-4.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+7 Dependent packages)\n\nTotal download size: 1.1 M\nInstalled size: 4.5 M\nDownloading packages:\nPublic key for firewalld-filesystem-0.6.3-13.el7_9.noarch.rpm is not installed\nPublic key for ipset-7.1-1.el7.x86_64.rpm is not installed\n--------------------------------------------------------------------------------\nTotal 37 kB/s | 1.1 MB 00:30 \nRetrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : ebtables-2.0.10-16.el7.x86_64 1/8 \n Installing : ipset-libs-7.1-1.el7.x86_64 2/8 \n Installing : ipset-7.1-1.el7.x86_64 3/8 \n Installing : python-slip-0.4.0-4.el7.noarch 4/8 \n Installing : python-slip-dbus-0.4.0-4.el7.noarch 5/8 \n Installing : python-firewall-0.6.3-13.el7_9.noarch 6/8 \n Installing : firewalld-filesystem-0.6.3-13.el7_9.noarch 7/8 \n Installing : firewalld-0.6.3-13.el7_9.noarch 8/8 \n Verifying : ipset-7.1-1.el7.x86_64 1/8 \n Verifying : python-slip-dbus-0.4.0-4.el7.noarch 2/8 \n Verifying : firewalld-filesystem-0.6.3-13.el7_9.noarch 3/8 \n Verifying : firewalld-0.6.3-13.el7_9.noarch 4/8 \n Verifying : python-slip-0.4.0-4.el7.noarch 5/8 \n Verifying : python-firewall-0.6.3-13.el7_9.noarch 6/8 \n Verifying : ipset-libs-7.1-1.el7.x86_64 7/8 \n Verifying : ebtables-2.0.10-16.el7.x86_64 8/8 \n\nInstalled:\n firewalld.noarch 0:0.6.3-13.el7_9 \n\nDependency Installed:\n ebtables.x86_64 0:2.0.10-16.el7 \n firewalld-filesystem.noarch 0:0.6.3-13.el7_9 \n ipset.x86_64 0:7.1-1.el7 \n ipset-libs.x86_64 0:7.1-1.el7 \n python-firewall.noarch 0:0.6.3-13.el7_9 \n python-slip.noarch 0:0.4.0-4.el7 \n python-slip-dbus.noarch 0:0.4.0-4.el7 \n\nComplete!\n" ] } MSG: warning: /var/cache/yum/x86_64/7/updates/packages/firewalld-filesystem-0.6.3-13.el7_9.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY http://mirror.math.princeton.edu/pub/centos/7.9.2009/os/x86_64/Packages/ebtables-2.0.10-16.el7.x86_64.rpm: [Errno 12] Timeout on http://mirror.math.princeton.edu/pub/centos/7.9.2009/os/x86_64/Packages/ebtables-2.0.10-16.el7.x86_64.rpm: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. Importing GPG key 0xF4A80EB5: Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) " Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5 Package : centos-release-7-9.2009.1.el7.centos.x86_64 (installed) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 23 June 2022 20:34:32 +0000 (0:00:33.311) 0:01:27.860 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 23 June 2022 20:34:32 +0000 (0:00:00.520) 0:01:28.381 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-7.qcow2c.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=8 changed=4 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 23 June 2022 20:34:32 +0000 (0:00:00.038) 0:01:28.420 ********* =============================================================================== Create yum cache ------------------------------------------------------- 49.57s /cache/centos-7_setup.yml:15 -------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------ 33.31s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Create EPEL 7 repo ------------------------------------------------------ 2.18s /cache/centos-7_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.07s /cache/centos-7_setup.yml:1 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.71s /tmp/tmpaiuxunkc/tests/setup-snapshot.yml:1 ----------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.52s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Disable EPEL 7 ---------------------------------------------------------- 0.50s /cache/centos-7_setup.yml:27 -------------------------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.41s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Install python3-firewall ------------------ 0.04s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Set platform/version specific variables --------------------------------- 0.03s /tmp/tmpaiuxunkc/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-7_setup.yml:35 -------------------------------------------------- Create dnf cache -------------------------------------------------------- 0.02s /cache/centos-7_setup.yml:21 -------------------------------------------------- PLAYBOOK: centos-7_post_setup.yml ********************************************** 1 plays in /cache/centos-7_post_setup.yml PLAY [Post setup - these happen last] ****************************************** META: ran handlers TASK [force sync of filesystems - ensure setup changes are made to snapshot] *** task path: /cache/centos-7_post_setup.yml:5 Thursday 23 June 2022 20:34:32 +0000 (0:00:00.018) 0:01:28.438 ********* changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [shutdown guest] ********************************************************** task path: /cache/centos-7_post_setup.yml:8 Thursday 23 June 2022 20:34:33 +0000 (0:00:00.319) 0:01:28.757 ********* changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=10 changed=6 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 23 June 2022 20:34:33 +0000 (0:00:00.449) 0:01:29.206 ********* =============================================================================== Create yum cache ------------------------------------------------------- 49.57s /cache/centos-7_setup.yml:15 -------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------ 33.31s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Create EPEL 7 repo ------------------------------------------------------ 2.18s /cache/centos-7_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.07s /cache/centos-7_setup.yml:1 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.71s /tmp/tmpaiuxunkc/tests/setup-snapshot.yml:1 ----------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.52s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Disable EPEL 7 ---------------------------------------------------------- 0.50s /cache/centos-7_setup.yml:27 -------------------------------------------------- shutdown guest ---------------------------------------------------------- 0.45s /cache/centos-7_post_setup.yml:8 ---------------------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.41s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 force sync of filesystems - ensure setup changes are made to snapshot --- 0.32s /cache/centos-7_post_setup.yml:5 ---------------------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 0.04s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Set platform/version specific variables --------------------------------- 0.03s /tmp/tmpaiuxunkc/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-7_setup.yml:35 -------------------------------------------------- Create dnf cache -------------------------------------------------------- 0.02s /cache/centos-7_setup.yml:21 -------------------------------------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpe2xtogrr executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/tmpaiuxunkc/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:1 Thursday 23 June 2022 20:35:17 +0000 (0:00:00.015) 0:00:00.015 ********* ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 23 June 2022 20:35:18 +0000 (0:00:01.044) 0:00:01.060 ********* included: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:35:18 +0000 (0:00:00.030) 0:00:01.090 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 23 June 2022 20:35:19 +0000 (0:00:00.407) 0:00:01.498 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 23 June 2022 20:35:20 +0000 (0:00:00.798) 0:00:02.296 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 23 June 2022 20:35:20 +0000 (0:00:00.513) 0:00:02.809 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 23 June 2022 20:35:20 +0000 (0:00:00.025) 0:00:02.835 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:35:12 UTC", "ActiveEnterTimestampMonotonic": "3628370", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:35:11 UTC", "AssertTimestampMonotonic": "3289361", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:35:11 UTC", "ConditionTimestampMonotonic": "3289361", "Conflicts": "ip6tables.service shutdown.target ebtables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "653", "ExecMainStartTimestamp": "Thu 2022-06-23 20:35:11 UTC", "ExecMainStartTimestampMonotonic": "3290302", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Thu 2022-06-23 20:35:11 UTC] ; stop_time=[n/a] ; pid=653 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-06-23 20:35:11 UTC", "InactiveExitTimestampMonotonic": "3290335", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "653", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:35:12 UTC", "WatchdogTimestampMonotonic": "3628297", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 23 June 2022 20:35:21 +0000 (0:00:00.654) 0:00:03.489 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 23 June 2022 20:35:21 +0000 (0:00:00.045) 0:00:03.535 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 23 June 2022 20:35:21 +0000 (0:00:00.031) 0:00:03.566 ********* TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:78 Thursday 23 June 2022 20:35:21 +0000 (0:00:00.034) 0:00:03.601 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:86 Thursday 23 June 2022 20:35:21 +0000 (0:00:00.032) 0:00:03.633 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Thursday 23 June 2022 20:35:21 +0000 (0:00:00.030) 0:00:03.664 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:14 Thursday 23 June 2022 20:35:21 +0000 (0:00:00.040) 0:00:03.704 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.294100", "end": "2022-06-23 20:35:22.167520", "failed_when_result": false, "rc": 112, "start": "2022-06-23 20:35:21.873420" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:19 Thursday 23 June 2022 20:35:22 +0000 (0:00:00.715) 0:00:04.419 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.289807", "end": "2022-06-23 20:35:22.774953", "failed_when_result": false, "rc": 22, "start": "2022-06-23 20:35:22.485146" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:24 Thursday 23 June 2022 20:35:22 +0000 (0:00:00.607) 0:00:05.027 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.264023", "end": "2022-06-23 20:35:23.338849", "failed_when_result": false, "rc": 22, "start": "2022-06-23 20:35:23.074826" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:29 Thursday 23 June 2022 20:35:23 +0000 (0:00:00.561) 0:00:05.589 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.269424", "end": "2022-06-23 20:35:23.913279", "failed_when_result": false, "rc": 22, "start": "2022-06-23 20:35:23.643855" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:34 Thursday 23 June 2022 20:35:23 +0000 (0:00:00.576) 0:00:06.165 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.262441", "end": "2022-06-23 20:35:24.479623", "failed_when_result": false, "rc": 22, "start": "2022-06-23 20:35:24.217182" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:39 Thursday 23 June 2022 20:35:24 +0000 (0:00:00.571) 0:00:06.737 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.286204", "end": "2022-06-23 20:35:25.078967", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:35:24.792763" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:44 Thursday 23 June 2022 20:35:25 +0000 (0:00:00.596) 0:00:07.334 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.550403", "end": "2022-06-23 20:35:25.941658", "failed_when_result": false, "rc": 22, "start": "2022-06-23 20:35:25.391255" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:52 Thursday 23 June 2022 20:35:25 +0000 (0:00:00.858) 0:00:08.193 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.251808", "end": "2022-06-23 20:35:26.503044", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:35:26.251236" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:57 Thursday 23 June 2022 20:35:26 +0000 (0:00:00.567) 0:00:08.760 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.466430", "end": "2022-06-23 20:35:27.284328", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:35:26.817898" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:64 Thursday 23 June 2022 20:35:27 +0000 (0:00:00.779) 0:00:09.540 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:72 Thursday 23 June 2022 20:35:27 +0000 (0:00:00.644) 0:00:10.184 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:80 Thursday 23 June 2022 20:35:28 +0000 (0:00:00.506) 0:00:10.690 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:88 Thursday 23 June 2022 20:35:28 +0000 (0:00:00.499) 0:00:11.190 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:96 Thursday 23 June 2022 20:35:29 +0000 (0:00:00.528) 0:00:11.719 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:104 Thursday 23 June 2022 20:35:30 +0000 (0:00:00.523) 0:00:12.242 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:112 Thursday 23 June 2022 20:35:30 +0000 (0:00:00.698) 0:00:12.941 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:120 Thursday 23 June 2022 20:35:31 +0000 (0:00:00.504) 0:00:13.446 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:128 Thursday 23 June 2022 20:35:31 +0000 (0:00:00.528) 0:00:13.975 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:137 Thursday 23 June 2022 20:35:32 +0000 (0:00:00.533) 0:00:14.508 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:146 Thursday 23 June 2022 20:35:32 +0000 (0:00:00.513) 0:00:15.022 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone, again] *** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:155 Thursday 23 June 2022 20:35:33 +0000 (0:00:00.503) 0:00:15.525 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:164 Thursday 23 June 2022 20:35:33 +0000 (0:00:00.509) 0:00:16.035 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:173 Thursday 23 June 2022 20:35:34 +0000 (0:00:00.491) 0:00:16.526 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:182 Thursday 23 June 2022 20:35:34 +0000 (0:00:00.492) 0:00:17.018 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:191 Thursday 23 June 2022 20:35:35 +0000 (0:00:00.499) 0:00:17.518 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:200 Thursday 23 June 2022 20:35:35 +0000 (0:00:00.511) 0:00:18.030 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:208 Thursday 23 June 2022 20:35:36 +0000 (0:00:00.498) 0:00:18.528 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:216 Thursday 23 June 2022 20:35:36 +0000 (0:00:00.496) 0:00:19.025 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:224 Thursday 23 June 2022 20:35:37 +0000 (0:00:00.528) 0:00:19.553 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:232 Thursday 23 June 2022 20:35:37 +0000 (0:00:00.550) 0:00:20.104 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:240 Thursday 23 June 2022 20:35:38 +0000 (0:00:00.494) 0:00:20.598 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:249 Thursday 23 June 2022 20:35:38 +0000 (0:00:00.497) 0:00:21.096 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:258 Thursday 23 June 2022 20:35:39 +0000 (0:00:00.499) 0:00:21.595 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:267 Thursday 23 June 2022 20:35:39 +0000 (0:00:00.523) 0:00:22.119 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:276 Thursday 23 June 2022 20:35:40 +0000 (0:00:00.746) 0:00:22.865 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:285 Thursday 23 June 2022 20:35:41 +0000 (0:00:00.492) 0:00:23.357 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:294 Thursday 23 June 2022 20:35:41 +0000 (0:00:00.726) 0:00:24.083 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone] *** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:303 Thursday 23 June 2022 20:35:42 +0000 (0:00:00.521) 0:00:24.605 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone, again] *** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:315 Thursday 23 June 2022 20:35:42 +0000 (0:00:00.540) 0:00:25.146 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:327 Thursday 23 June 2022 20:35:43 +0000 (0:00:00.520) 0:00:25.667 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:335 Thursday 23 June 2022 20:35:44 +0000 (0:00:00.753) 0:00:26.420 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:340 Thursday 23 June 2022 20:35:44 +0000 (0:00:00.034) 0:00:26.454 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:350 Thursday 23 June 2022 20:35:44 +0000 (0:00:00.504) 0:00:26.958 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:360 Thursday 23 June 2022 20:35:45 +0000 (0:00:00.525) 0:00:27.484 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.265315", "end": "2022-06-23 20:35:45.833083", "rc": 0, "start": "2022-06-23 20:35:45.567768" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:363 Thursday 23 June 2022 20:35:45 +0000 (0:00:00.597) 0:00:28.082 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:370 Thursday 23 June 2022 20:35:46 +0000 (0:00:00.630) 0:00:28.712 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:377 Thursday 23 June 2022 20:35:47 +0000 (0:00:00.529) 0:00:29.242 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "failed_when_result": false } MSG: can only add, modify, or remove one service at a time TASK [add custom service without details] ************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:387 Thursday 23 June 2022 20:35:47 +0000 (0:00:00.396) 0:00:29.639 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:395 Thursday 23 June 2022 20:35:48 +0000 (0:00:00.800) 0:00:30.440 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:403 Thursday 23 June 2022 20:35:48 +0000 (0:00:00.525) 0:00:30.965 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:412 Thursday 23 June 2022 20:35:49 +0000 (0:00:00.753) 0:00:31.719 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:421 Thursday 23 June 2022 20:35:50 +0000 (0:00:00.737) 0:00:32.456 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:430 Thursday 23 June 2022 20:35:51 +0000 (0:00:00.797) 0:00:33.254 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:439 Thursday 23 June 2022 20:35:51 +0000 (0:00:00.537) 0:00:33.791 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:448 Thursday 23 June 2022 20:35:52 +0000 (0:00:00.519) 0:00:34.311 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:457 Thursday 23 June 2022 20:35:52 +0000 (0:00:00.761) 0:00:35.072 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:466 Thursday 23 June 2022 20:35:53 +0000 (0:00:00.771) 0:00:35.844 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:475 Thursday 23 June 2022 20:35:54 +0000 (0:00:00.719) 0:00:36.564 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:486 Thursday 23 June 2022 20:35:55 +0000 (0:00:00.749) 0:00:37.314 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:494 Thursday 23 June 2022 20:35:55 +0000 (0:00:00.798) 0:00:38.112 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:502 Thursday 23 June 2022 20:35:56 +0000 (0:00:00.515) 0:00:38.627 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:519 Thursday 23 June 2022 20:35:57 +0000 (0:00:00.774) 0:00:39.402 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [forward port 80 to localhost:8080 (string)] ****************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:528 Thursday 23 June 2022 20:35:57 +0000 (0:00:00.570) 0:00:39.972 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward same port again (string)] **************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:535 Thursday 23 June 2022 20:35:58 +0000 (0:00:00.545) 0:00:40.518 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [diable forward port (string)] ******************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:542 Thursday 23 June 2022 20:35:58 +0000 (0:00:00.511) 0:00:41.029 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port (dict form)] ************************************************ task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:549 Thursday 23 June 2022 20:35:59 +0000 (0:00:00.510) 0:00:41.540 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port again (list-dict form)] ************************************* task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:560 Thursday 23 June 2022 20:35:59 +0000 (0:00:00.531) 0:00:42.071 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (dict form)] **************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:571 Thursday 23 June 2022 20:36:00 +0000 (0:00:00.537) 0:00:42.609 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:590 Thursday 23 June 2022 20:36:00 +0000 (0:00:00.524) 0:00:43.134 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.283179", "end": "2022-06-23 20:36:01.475401", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:36:01.192222" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:595 Thursday 23 June 2022 20:36:01 +0000 (0:00:00.596) 0:00:43.730 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.271421", "end": "2022-06-23 20:36:02.051260", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:36:01.779839" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:600 Thursday 23 June 2022 20:36:02 +0000 (0:00:00.580) 0:00:44.311 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.285249", "end": "2022-06-23 20:36:02.693988", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:36:02.408739" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:605 Thursday 23 June 2022 20:36:02 +0000 (0:00:00.637) 0:00:44.948 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.260473", "end": "2022-06-23 20:36:03.292703", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:36:03.032230" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:610 Thursday 23 June 2022 20:36:03 +0000 (0:00:00.598) 0:00:45.547 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.265636", "end": "2022-06-23 20:36:03.897097", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:36:03.631461" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:615 Thursday 23 June 2022 20:36:03 +0000 (0:00:00.604) 0:00:46.152 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.254695", "end": "2022-06-23 20:36:04.485296", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:36:04.230601" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:620 Thursday 23 June 2022 20:36:04 +0000 (0:00:00.588) 0:00:46.740 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.286050", "end": "2022-06-23 20:36:05.116671", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:36:04.830621" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:625 Thursday 23 June 2022 20:36:05 +0000 (0:00:00.630) 0:00:47.371 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.264123", "end": "2022-06-23 20:36:05.722280", "failed_when_result": false, "rc": 22, "start": "2022-06-23 20:36:05.458157" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpaiuxunkc/tests/tests_ansible.yml:630 Thursday 23 June 2022 20:36:05 +0000 (0:00:00.602) 0:00:47.973 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.480323", "end": "2022-06-23 20:36:06.510952", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:36:06.030629" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=84 changed=50 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Thursday 23 June 2022 20:36:06 +0000 (0:00:00.801) 0:00:48.775 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmpaiuxunkc/tests/tests_ansible.yml:1 ------------------------------------ Reset default zone to defaults ------------------------------------------ 0.86s /tmp/tmpaiuxunkc/tests/tests_ansible.yml:44 ----------------------------------- Reload firewalld -------------------------------------------------------- 0.80s /tmp/tmpaiuxunkc/tests/tests_ansible.yml:630 ---------------------------------- add custom service without details -------------------------------------- 0.80s /tmp/tmpaiuxunkc/tests/tests_ansible.yml:387 ---------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 0.80s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 delete custom service --------------------------------------------------- 0.80s /tmp/tmpaiuxunkc/tests/tests_ansible.yml:486 ---------------------------------- add source_ports to custom service -------------------------------------- 0.80s /tmp/tmpaiuxunkc/tests/tests_ansible.yml:421 ---------------------------------- Reload firewalld -------------------------------------------------------- 0.78s /tmp/tmpaiuxunkc/tests/tests_ansible.yml:57 ----------------------------------- add custom service with all the elements at once ------------------------ 0.77s /tmp/tmpaiuxunkc/tests/tests_ansible.yml:502 ---------------------------------- remove valid protocol from customservice -------------------------------- 0.77s /tmp/tmpaiuxunkc/tests/tests_ansible.yml:457 ---------------------------------- add valid protocol to custom service ------------------------------------ 0.76s /tmp/tmpaiuxunkc/tests/tests_ansible.yml:448 ---------------------------------- add description to custom service --------------------------------------- 0.75s /tmp/tmpaiuxunkc/tests/tests_ansible.yml:403 ---------------------------------- Firewalld custom zone --------------------------------------------------- 0.75s /tmp/tmpaiuxunkc/tests/tests_ansible.yml:327 ---------------------------------- add destination addresses ----------------------------------------------- 0.75s /tmp/tmpaiuxunkc/tests/tests_ansible.yml:475 ---------------------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 0.75s /tmp/tmpaiuxunkc/tests/tests_ansible.yml:267 ---------------------------------- add short description to custom service --------------------------------- 0.74s /tmp/tmpaiuxunkc/tests/tests_ansible.yml:412 ---------------------------------- Ensure default target in permanent internal zone ------------------------ 0.73s /tmp/tmpaiuxunkc/tests/tests_ansible.yml:285 ---------------------------------- remove ports from custom service without deleting service --------------- 0.72s /tmp/tmpaiuxunkc/tests/tests_ansible.yml:466 ---------------------------------- Remove custom zone ------------------------------------------------------ 0.72s /tmp/tmpaiuxunkc/tests/tests_ansible.yml:14 ----------------------------------- Allow port 161-162/udp in permanent default zone, again ----------------- 0.70s /tmp/tmpaiuxunkc/tests/tests_ansible.yml:104 ---------------------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpe2xtogrr executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:1 Thursday 23 June 2022 20:38:49 +0000 (0:00:00.014) 0:00:00.014 ********* ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 23 June 2022 20:38:50 +0000 (0:00:01.079) 0:00:01.094 ********* included: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:38:50 +0000 (0:00:00.029) 0:00:01.124 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 23 June 2022 20:38:51 +0000 (0:00:00.407) 0:00:01.531 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 23 June 2022 20:38:51 +0000 (0:00:00.802) 0:00:02.334 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 23 June 2022 20:38:52 +0000 (0:00:00.538) 0:00:02.873 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 23 June 2022 20:38:52 +0000 (0:00:00.024) 0:00:02.897 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:38:43 UTC", "ActiveEnterTimestampMonotonic": "3382423", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:38:43 UTC", "AssertTimestampMonotonic": "3082659", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:38:43 UTC", "ConditionTimestampMonotonic": "3082659", "Conflicts": "shutdown.target ipset.service ip6tables.service ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "655", "ExecMainStartTimestamp": "Thu 2022-06-23 20:38:43 UTC", "ExecMainStartTimestampMonotonic": "3083323", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Thu 2022-06-23 20:38:43 UTC] ; stop_time=[n/a] ; pid=655 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-06-23 20:38:43 UTC", "InactiveExitTimestampMonotonic": "3083669", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "655", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:38:43 UTC", "WatchdogTimestampMonotonic": "3382352", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 23 June 2022 20:38:53 +0000 (0:00:00.656) 0:00:03.554 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 23 June 2022 20:38:53 +0000 (0:00:00.046) 0:00:03.600 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 23 June 2022 20:38:53 +0000 (0:00:00.035) 0:00:03.635 ********* TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 23 June 2022 20:38:53 +0000 (0:00:00.034) 0:00:03.670 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Thursday 23 June 2022 20:38:53 +0000 (0:00:00.031) 0:00:03.701 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Thursday 23 June 2022 20:38:53 +0000 (0:00:00.030) 0:00:03.731 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:14 Thursday 23 June 2022 20:38:53 +0000 (0:00:00.038) 0:00:03.769 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.281072", "end": "2022-06-23 20:38:54.315305", "failed_when_result": false, "rc": 112, "start": "2022-06-23 20:38:54.034233" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:19 Thursday 23 June 2022 20:38:54 +0000 (0:00:00.697) 0:00:04.467 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.297526", "end": "2022-06-23 20:38:54.894049", "failed_when_result": false, "rc": 22, "start": "2022-06-23 20:38:54.596523" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:24 Thursday 23 June 2022 20:38:54 +0000 (0:00:00.582) 0:00:05.049 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.270116", "end": "2022-06-23 20:38:55.476506", "failed_when_result": false, "rc": 22, "start": "2022-06-23 20:38:55.206390" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:29 Thursday 23 June 2022 20:38:55 +0000 (0:00:00.588) 0:00:05.638 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.255821", "end": "2022-06-23 20:38:56.050410", "failed_when_result": false, "rc": 22, "start": "2022-06-23 20:38:55.794589" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:34 Thursday 23 June 2022 20:38:55 +0000 (0:00:00.567) 0:00:06.206 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.270247", "end": "2022-06-23 20:38:56.607403", "failed_when_result": false, "rc": 22, "start": "2022-06-23 20:38:56.337156" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:39 Thursday 23 June 2022 20:38:56 +0000 (0:00:00.556) 0:00:06.763 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.266679", "end": "2022-06-23 20:38:57.173180", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:38:56.906501" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:44 Thursday 23 June 2022 20:38:56 +0000 (0:00:00.564) 0:00:07.328 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.528517", "end": "2022-06-23 20:38:58.004652", "failed_when_result": false, "rc": 22, "start": "2022-06-23 20:38:57.476135" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:52 Thursday 23 June 2022 20:38:57 +0000 (0:00:00.831) 0:00:08.159 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.248480", "end": "2022-06-23 20:38:58.583231", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:38:58.334751" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:57 Thursday 23 June 2022 20:38:58 +0000 (0:00:00.577) 0:00:08.736 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.467462", "end": "2022-06-23 20:38:59.337121", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:38:58.869659" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:64 Thursday 23 June 2022 20:38:59 +0000 (0:00:00.755) 0:00:09.492 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:72 Thursday 23 June 2022 20:38:59 +0000 (0:00:00.607) 0:00:10.099 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:80 Thursday 23 June 2022 20:39:00 +0000 (0:00:00.470) 0:00:10.570 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:88 Thursday 23 June 2022 20:39:00 +0000 (0:00:00.524) 0:00:11.094 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:96 Thursday 23 June 2022 20:39:01 +0000 (0:00:00.503) 0:00:11.598 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:104 Thursday 23 June 2022 20:39:01 +0000 (0:00:00.542) 0:00:12.140 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:112 Thursday 23 June 2022 20:39:02 +0000 (0:00:00.537) 0:00:12.678 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:120 Thursday 23 June 2022 20:39:02 +0000 (0:00:00.502) 0:00:13.180 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:128 Thursday 23 June 2022 20:39:03 +0000 (0:00:00.506) 0:00:13.686 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:137 Thursday 23 June 2022 20:39:03 +0000 (0:00:00.509) 0:00:14.196 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:146 Thursday 23 June 2022 20:39:04 +0000 (0:00:00.494) 0:00:14.690 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone, again] *** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:154 Thursday 23 June 2022 20:39:04 +0000 (0:00:00.503) 0:00:15.194 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:162 Thursday 23 June 2022 20:39:05 +0000 (0:00:00.508) 0:00:15.703 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:171 Thursday 23 June 2022 20:39:05 +0000 (0:00:00.488) 0:00:16.192 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:180 Thursday 23 June 2022 20:39:06 +0000 (0:00:00.493) 0:00:16.685 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:189 Thursday 23 June 2022 20:39:06 +0000 (0:00:00.482) 0:00:17.168 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:198 Thursday 23 June 2022 20:39:07 +0000 (0:00:00.513) 0:00:17.681 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:206 Thursday 23 June 2022 20:39:07 +0000 (0:00:00.505) 0:00:18.187 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:214 Thursday 23 June 2022 20:39:08 +0000 (0:00:00.495) 0:00:18.683 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:222 Thursday 23 June 2022 20:39:08 +0000 (0:00:00.478) 0:00:19.161 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:230 Thursday 23 June 2022 20:39:09 +0000 (0:00:00.542) 0:00:19.704 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:238 Thursday 23 June 2022 20:39:09 +0000 (0:00:00.476) 0:00:20.180 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:247 Thursday 23 June 2022 20:39:10 +0000 (0:00:00.496) 0:00:20.677 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:256 Thursday 23 June 2022 20:39:10 +0000 (0:00:00.479) 0:00:21.156 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:265 Thursday 23 June 2022 20:39:11 +0000 (0:00:00.509) 0:00:21.665 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:274 Thursday 23 June 2022 20:39:11 +0000 (0:00:00.728) 0:00:22.394 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:283 Thursday 23 June 2022 20:39:12 +0000 (0:00:00.514) 0:00:22.908 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:292 Thursday 23 June 2022 20:39:13 +0000 (0:00:00.729) 0:00:23.638 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone] *** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:301 Thursday 23 June 2022 20:39:13 +0000 (0:00:00.541) 0:00:24.179 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone, again] *** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:311 Thursday 23 June 2022 20:39:14 +0000 (0:00:00.539) 0:00:24.718 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:321 Thursday 23 June 2022 20:39:14 +0000 (0:00:00.507) 0:00:25.226 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:329 Thursday 23 June 2022 20:39:15 +0000 (0:00:00.769) 0:00:25.995 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:334 Thursday 23 June 2022 20:39:15 +0000 (0:00:00.064) 0:00:26.059 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:344 Thursday 23 June 2022 20:39:16 +0000 (0:00:00.529) 0:00:26.589 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:354 Thursday 23 June 2022 20:39:16 +0000 (0:00:00.536) 0:00:27.125 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.259531", "end": "2022-06-23 20:39:17.528938", "rc": 0, "start": "2022-06-23 20:39:17.269407" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:357 Thursday 23 June 2022 20:39:17 +0000 (0:00:00.557) 0:00:27.682 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:364 Thursday 23 June 2022 20:39:17 +0000 (0:00:00.605) 0:00:28.287 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:371 Thursday 23 June 2022 20:39:18 +0000 (0:00:00.489) 0:00:28.777 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "failed_when_result": false } MSG: can only add, modify, or remove one service at a time TASK [add custom service without details] ************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:381 Thursday 23 June 2022 20:39:18 +0000 (0:00:00.391) 0:00:29.168 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:389 Thursday 23 June 2022 20:39:19 +0000 (0:00:00.729) 0:00:29.898 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:397 Thursday 23 June 2022 20:39:19 +0000 (0:00:00.512) 0:00:30.411 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:406 Thursday 23 June 2022 20:39:20 +0000 (0:00:00.740) 0:00:31.151 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:415 Thursday 23 June 2022 20:39:21 +0000 (0:00:00.740) 0:00:31.892 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:424 Thursday 23 June 2022 20:39:22 +0000 (0:00:00.737) 0:00:32.629 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:433 Thursday 23 June 2022 20:39:22 +0000 (0:00:00.525) 0:00:33.155 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:442 Thursday 23 June 2022 20:39:23 +0000 (0:00:00.502) 0:00:33.657 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:451 Thursday 23 June 2022 20:39:23 +0000 (0:00:00.717) 0:00:34.375 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:460 Thursday 23 June 2022 20:39:24 +0000 (0:00:00.742) 0:00:35.117 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:469 Thursday 23 June 2022 20:39:25 +0000 (0:00:00.740) 0:00:35.858 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:480 Thursday 23 June 2022 20:39:26 +0000 (0:00:00.724) 0:00:36.582 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:488 Thursday 23 June 2022 20:39:26 +0000 (0:00:00.747) 0:00:37.330 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:496 Thursday 23 June 2022 20:39:27 +0000 (0:00:00.516) 0:00:37.847 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:513 Thursday 23 June 2022 20:39:28 +0000 (0:00:00.777) 0:00:38.625 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [forward port 80 to localhost:8080 (string)] ****************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:522 Thursday 23 June 2022 20:39:28 +0000 (0:00:00.514) 0:00:39.139 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward same port again (string)] **************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:529 Thursday 23 June 2022 20:39:29 +0000 (0:00:00.524) 0:00:39.664 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [diable forward port (string)] ******************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:536 Thursday 23 June 2022 20:39:29 +0000 (0:00:00.524) 0:00:40.189 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port (dict form)] ************************************************ task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:543 Thursday 23 June 2022 20:39:30 +0000 (0:00:00.508) 0:00:40.697 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port again (list-dict form)] ************************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:554 Thursday 23 June 2022 20:39:30 +0000 (0:00:00.495) 0:00:41.193 ********* ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (dict form)] **************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:565 Thursday 23 June 2022 20:39:31 +0000 (0:00:00.561) 0:00:41.755 ********* changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:584 Thursday 23 June 2022 20:39:31 +0000 (0:00:00.664) 0:00:42.420 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.276143", "end": "2022-06-23 20:39:32.851132", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:39:32.574989" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:589 Thursday 23 June 2022 20:39:32 +0000 (0:00:00.586) 0:00:43.006 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.270618", "end": "2022-06-23 20:39:33.456121", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:39:33.185503" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:594 Thursday 23 June 2022 20:39:33 +0000 (0:00:00.606) 0:00:43.612 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.274187", "end": "2022-06-23 20:39:34.066323", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:39:33.792136" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:599 Thursday 23 June 2022 20:39:33 +0000 (0:00:00.608) 0:00:44.221 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.259031", "end": "2022-06-23 20:39:34.665602", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:39:34.406571" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:604 Thursday 23 June 2022 20:39:34 +0000 (0:00:00.605) 0:00:44.826 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.269608", "end": "2022-06-23 20:39:35.281625", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:39:35.012017" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:609 Thursday 23 June 2022 20:39:35 +0000 (0:00:00.609) 0:00:45.436 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.260740", "end": "2022-06-23 20:39:35.850719", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:39:35.589979" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:614 Thursday 23 June 2022 20:39:35 +0000 (0:00:00.570) 0:00:46.007 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.270771", "end": "2022-06-23 20:39:36.408443", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:39:36.137672" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:619 Thursday 23 June 2022 20:39:36 +0000 (0:00:00.556) 0:00:46.564 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.271769", "end": "2022-06-23 20:39:36.991894", "failed_when_result": false, "rc": 22, "start": "2022-06-23 20:39:36.720125" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:624 Thursday 23 June 2022 20:39:36 +0000 (0:00:00.581) 0:00:47.145 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.446573", "end": "2022-06-23 20:39:37.730077", "failed_when_result": false, "rc": 0, "start": "2022-06-23 20:39:37.283504" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=84 changed=50 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Thursday 23 June 2022 20:39:37 +0000 (0:00:00.755) 0:00:47.900 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:1 --------------------------- Reset default zone to defaults ------------------------------------------ 0.83s /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:44 -------------------------- fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.80s /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 add custom service with all the elements at once ------------------------ 0.78s /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:496 ------------------------- Firewalld custom zone --------------------------------------------------- 0.77s /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:321 ------------------------- Reload firewalld -------------------------------------------------------- 0.76s /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:57 -------------------------- Reload firewalld -------------------------------------------------------- 0.76s /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:624 ------------------------- delete custom service --------------------------------------------------- 0.75s /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:480 ------------------------- remove valid protocol from customservice -------------------------------- 0.74s /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:451 ------------------------- add short description to custom service --------------------------------- 0.74s /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:406 ------------------------- remove ports from custom service without deleting service --------------- 0.74s /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:460 ------------------------- add description to custom service --------------------------------------- 0.74s /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:397 ------------------------- add source_ports to custom service -------------------------------------- 0.74s /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:415 ------------------------- add custom service without details -------------------------------------- 0.73s /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:381 ------------------------- Ensure default target in permanent internal zone ------------------------ 0.73s /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:283 ------------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 0.73s /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:265 ------------------------- add destination addresses ----------------------------------------------- 0.72s /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:469 ------------------------- add valid protocol to custom service ------------------------------------ 0.72s /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:442 ------------------------- Remove custom zone ------------------------------------------------------ 0.70s /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:14 -------------------------- disable forward port (dict form) ---------------------------------------- 0.66s /tmp/tmpp6g5_ykf/tests/firewall/tests_ansible.yml:565 -------------------------