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/tmp3beyrfjs 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 Friday 22 July 2022 00:24:53 +0000 (0:00:00.013) 0:00:00.013 *********** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Create EPEL 7 repo] ****************************************************** task path: /cache/centos-7_setup.yml:5 Friday 22 July 2022 00:24:54 +0000 (0:00:01.376) 0:00:01.390 *********** 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 Friday 22 July 2022 00:24:56 +0000 (0:00:02.237) 0:00:03.627 *********** 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 Friday 22 July 2022 00:25:14 +0000 (0:00:17.268) 0:00:20.896 *********** 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 Friday 22 July 2022 00:25:14 +0000 (0:00:00.021) 0:00:20.918 *********** 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 Friday 22 July 2022 00:25:14 +0000 (0:00:00.482) 0:00:21.401 *********** 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 Friday 22 July 2022 00:25:14 +0000 (0:00:00.031) 0:00:21.432 *********** =============================================================================== Create yum cache ------------------------------------------------------- 17.27s /cache/centos-7_setup.yml:15 -------------------------------------------------- Create EPEL 7 repo ------------------------------------------------------ 2.24s /cache/centos-7_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.38s /cache/centos-7_setup.yml:1 --------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.48s /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/tmp0ud2aoza/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0ud2aoza/tests/setup-snapshot.yml:1 Friday 22 July 2022 00:25:14 +0000 (0:00:00.011) 0:00:21.443 *********** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Set platform/version specific variables] ********************************* task path: /tmp/tmp0ud2aoza/tests/setup-snapshot.yml:3 Friday 22 July 2022 00:25:15 +0000 (0:00:00.755) 0:00:22.198 *********** TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:25:15 +0000 (0:00:00.031) 0:00:22.230 *********** ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:25:15 +0000 (0:00:00.418) 0:00:22.648 *********** 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: mirror.cs.vt.edu\n * extras: mirror.datto.com\n * updates: coresite.mm.fcix.net\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-libs-7.1-1.el7.x86_64.rpm is not installed\n--------------------------------------------------------------------------------\nTotal 2.7 MB/s | 1.1 MB 00:00 \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 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/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:25:18 +0000 (0:00:03.157) 0:00:25.805 *********** 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/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:25:19 +0000 (0:00:00.546) 0:00:26.352 *********** 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 Friday 22 July 2022 00:25:19 +0000 (0:00:00.041) 0:00:26.394 *********** =============================================================================== Create yum cache ------------------------------------------------------- 17.27s /cache/centos-7_setup.yml:15 -------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 3.16s /tmp/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Create EPEL 7 repo ------------------------------------------------------ 2.24s /cache/centos-7_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.38s /cache/centos-7_setup.yml:1 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.76s /tmp/tmp0ud2aoza/tests/setup-snapshot.yml:1 ----------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.55s /tmp/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Disable EPEL 7 ---------------------------------------------------------- 0.48s /cache/centos-7_setup.yml:27 -------------------------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.42s /tmp/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Install python3-firewall ------------------ 0.04s /tmp/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Set platform/version specific variables --------------------------------- 0.03s /tmp/tmp0ud2aoza/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 Friday 22 July 2022 00:25:19 +0000 (0:00:00.019) 0:00:26.413 *********** 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 Friday 22 July 2022 00:25:19 +0000 (0:00:00.383) 0:00:26.797 *********** 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 Friday 22 July 2022 00:25:20 +0000 (0:00:00.453) 0:00:27.250 *********** =============================================================================== Create yum cache ------------------------------------------------------- 17.27s /cache/centos-7_setup.yml:15 -------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 3.16s /tmp/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Create EPEL 7 repo ------------------------------------------------------ 2.24s /cache/centos-7_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.38s /cache/centos-7_setup.yml:1 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.76s /tmp/tmp0ud2aoza/tests/setup-snapshot.yml:1 ----------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.55s /tmp/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Disable EPEL 7 ---------------------------------------------------------- 0.48s /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.42s /tmp/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 force sync of filesystems - ensure setup changes are made to snapshot --- 0.38s /cache/centos-7_post_setup.yml:5 ---------------------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 0.04s /tmp/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Set platform/version specific variables --------------------------------- 0.03s /tmp/tmp0ud2aoza/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/tmp3beyrfjs 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/tmp0ud2aoza/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:1 Friday 22 July 2022 00:26:04 +0000 (0:00:00.014) 0:00:00.014 *********** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:26:05 +0000 (0:00:01.085) 0:00:01.099 *********** included: /tmp/tmp0ud2aoza/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/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:26:05 +0000 (0:00:00.031) 0:00:01.130 *********** ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:26:06 +0000 (0:00:00.403) 0:00:01.534 *********** 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/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:26:07 +0000 (0:00:00.782) 0:00:02.316 *********** 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/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:26:07 +0000 (0:00:00.514) 0:00:02.830 *********** 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/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:26:07 +0000 (0:00:00.025) 0:00:02.856 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-07-22 00:25:59 UTC", "ActiveEnterTimestampMonotonic": "3732276", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service system.slice dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-07-22 00:25:58 UTC", "AssertTimestampMonotonic": "3413567", "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": "Fri 2022-07-22 00:25:58 UTC", "ConditionTimestampMonotonic": "3413567", "Conflicts": "ebtables.service ip6tables.service shutdown.target iptables.service ipset.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": "Fri 2022-07-22 00:25:58 UTC", "ExecMainStartTimestampMonotonic": "3414497", "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=[Fri 2022-07-22 00:25:58 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": "Fri 2022-07-22 00:25:58 UTC", "InactiveExitTimestampMonotonic": "3414549", "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": "system.slice basic.target", "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": "Fri 2022-07-22 00:25:59 UTC", "WatchdogTimestampMonotonic": "3732199", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:26:08 +0000 (0:00:00.634) 0:00:03.490 *********** 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/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:26:08 +0000 (0:00:00.046) 0:00:03.537 *********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:26:08 +0000 (0:00:00.032) 0:00:03.570 *********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:26:08 +0000 (0:00:00.033) 0:00:03.603 *********** 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/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:26:08 +0000 (0:00:00.030) 0:00:03.634 *********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:26:08 +0000 (0:00:00.031) 0:00:03.665 *********** skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:14 Friday 22 July 2022 00:26:08 +0000 (0:00:00.040) 0:00:03.705 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.279470", "end": "2022-07-22 00:26:09.295123", "failed_when_result": false, "rc": 112, "start": "2022-07-22 00:26:09.015653" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:19 Friday 22 July 2022 00:26:09 +0000 (0:00:00.714) 0:00:04.420 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.285985", "end": "2022-07-22 00:26:09.882774", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:26:09.596789" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:24 Friday 22 July 2022 00:26:09 +0000 (0:00:00.589) 0:00:05.009 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.265040", "end": "2022-07-22 00:26:10.451243", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:26:10.186203" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:29 Friday 22 July 2022 00:26:10 +0000 (0:00:00.567) 0:00:05.576 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.266324", "end": "2022-07-22 00:26:11.022227", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:26:10.755903" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:34 Friday 22 July 2022 00:26:10 +0000 (0:00:00.576) 0:00:06.153 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.256901", "end": "2022-07-22 00:26:11.590624", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:26:11.333723" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:39 Friday 22 July 2022 00:26:11 +0000 (0:00:00.564) 0:00:06.718 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.288468", "end": "2022-07-22 00:26:12.201524", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:26:11.913056" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:44 Friday 22 July 2022 00:26:12 +0000 (0:00:00.610) 0:00:07.329 *********** 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.517612", "end": "2022-07-22 00:26:13.031680", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:26:12.514068" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:52 Friday 22 July 2022 00:26:12 +0000 (0:00:00.828) 0:00:08.157 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.253857", "end": "2022-07-22 00:26:13.587806", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:26:13.333949" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:57 Friday 22 July 2022 00:26:13 +0000 (0:00:00.558) 0:00:08.716 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.466185", "end": "2022-07-22 00:26:14.403687", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:26:13.937502" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:64 Friday 22 July 2022 00:26:14 +0000 (0:00:00.816) 0:00:09.533 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:72 Friday 22 July 2022 00:26:14 +0000 (0:00:00.645) 0:00:10.179 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:80 Friday 22 July 2022 00:26:15 +0000 (0:00:00.490) 0:00:10.669 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:88 Friday 22 July 2022 00:26:15 +0000 (0:00:00.504) 0:00:11.174 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:96 Friday 22 July 2022 00:26:16 +0000 (0:00:00.546) 0:00:11.720 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:104 Friday 22 July 2022 00:26:16 +0000 (0:00:00.540) 0:00:12.261 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:112 Friday 22 July 2022 00:26:17 +0000 (0:00:00.525) 0:00:12.787 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:120 Friday 22 July 2022 00:26:18 +0000 (0:00:00.541) 0:00:13.328 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:128 Friday 22 July 2022 00:26:18 +0000 (0:00:00.563) 0:00:13.892 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:137 Friday 22 July 2022 00:26:19 +0000 (0:00:00.534) 0:00:14.426 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:146 Friday 22 July 2022 00:26:19 +0000 (0:00:00.494) 0:00:14.920 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:155 Friday 22 July 2022 00:26:20 +0000 (0:00:00.509) 0:00:15.430 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:164 Friday 22 July 2022 00:26:20 +0000 (0:00:00.523) 0:00:15.954 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:173 Friday 22 July 2022 00:26:21 +0000 (0:00:00.497) 0:00:16.451 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:182 Friday 22 July 2022 00:26:21 +0000 (0:00:00.492) 0:00:16.943 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:191 Friday 22 July 2022 00:26:22 +0000 (0:00:00.514) 0:00:17.457 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:200 Friday 22 July 2022 00:26:22 +0000 (0:00:00.552) 0:00:18.009 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:208 Friday 22 July 2022 00:26:23 +0000 (0:00:00.495) 0:00:18.505 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:216 Friday 22 July 2022 00:26:23 +0000 (0:00:00.493) 0:00:18.998 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:224 Friday 22 July 2022 00:26:24 +0000 (0:00:00.493) 0:00:19.492 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:232 Friday 22 July 2022 00:26:24 +0000 (0:00:00.513) 0:00:20.006 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:240 Friday 22 July 2022 00:26:25 +0000 (0:00:00.499) 0:00:20.505 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:249 Friday 22 July 2022 00:26:25 +0000 (0:00:00.501) 0:00:21.007 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:258 Friday 22 July 2022 00:26:26 +0000 (0:00:00.483) 0:00:21.491 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:267 Friday 22 July 2022 00:26:26 +0000 (0:00:00.502) 0:00:21.993 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:276 Friday 22 July 2022 00:26:27 +0000 (0:00:00.771) 0:00:22.765 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:285 Friday 22 July 2022 00:26:27 +0000 (0:00:00.504) 0:00:23.270 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:294 Friday 22 July 2022 00:26:28 +0000 (0:00:00.724) 0:00:23.994 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:303 Friday 22 July 2022 00:26:29 +0000 (0:00:00.513) 0:00:24.508 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:315 Friday 22 July 2022 00:26:29 +0000 (0:00:00.531) 0:00:25.040 *********** ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:327 Friday 22 July 2022 00:26:30 +0000 (0:00:00.474) 0:00:25.514 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:335 Friday 22 July 2022 00:26:31 +0000 (0:00:00.762) 0:00:26.277 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:340 Friday 22 July 2022 00:26:31 +0000 (0:00:00.064) 0:00:26.342 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:350 Friday 22 July 2022 00:26:31 +0000 (0:00:00.540) 0:00:26.882 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:360 Friday 22 July 2022 00:26:32 +0000 (0:00:00.548) 0:00:27.431 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.261537", "end": "2022-07-22 00:26:32.901642", "rc": 0, "start": "2022-07-22 00:26:32.640105" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:363 Friday 22 July 2022 00:26:32 +0000 (0:00:00.594) 0:00:28.026 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:370 Friday 22 July 2022 00:26:33 +0000 (0:00:00.599) 0:00:28.625 *********** ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:377 Friday 22 July 2022 00:26:33 +0000 (0:00:00.544) 0:00:29.169 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:387 Friday 22 July 2022 00:26:34 +0000 (0:00:00.445) 0:00:29.615 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:395 Friday 22 July 2022 00:26:35 +0000 (0:00:00.758) 0:00:30.373 *********** ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:403 Friday 22 July 2022 00:26:35 +0000 (0:00:00.529) 0:00:30.903 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:412 Friday 22 July 2022 00:26:36 +0000 (0:00:00.839) 0:00:31.743 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:421 Friday 22 July 2022 00:26:37 +0000 (0:00:00.772) 0:00:32.515 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:430 Friday 22 July 2022 00:26:38 +0000 (0:00:00.758) 0:00:33.273 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:439 Friday 22 July 2022 00:26:38 +0000 (0:00:00.544) 0:00:33.818 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:448 Friday 22 July 2022 00:26:39 +0000 (0:00:00.511) 0:00:34.330 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:457 Friday 22 July 2022 00:26:39 +0000 (0:00:00.753) 0:00:35.084 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:466 Friday 22 July 2022 00:26:40 +0000 (0:00:00.762) 0:00:35.847 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:475 Friday 22 July 2022 00:26:41 +0000 (0:00:00.745) 0:00:36.593 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:486 Friday 22 July 2022 00:26:42 +0000 (0:00:00.763) 0:00:37.356 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:494 Friday 22 July 2022 00:26:42 +0000 (0:00:00.764) 0:00:38.121 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:502 Friday 22 July 2022 00:26:43 +0000 (0:00:00.510) 0:00:38.631 *********** 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/tmp0ud2aoza/tests/tests_ansible.yml:519 Friday 22 July 2022 00:26:44 +0000 (0:00:00.790) 0:00:39.422 *********** ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [forward port 40 to 0.0.0.0:8080 (string)] ******************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:528 Friday 22 July 2022 00:26:44 +0000 (0:00:00.544) 0:00:39.967 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward same port again (string)] **************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:535 Friday 22 July 2022 00:26:45 +0000 (0:00:00.536) 0:00:40.504 *********** ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (string)] ******************************************* task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:542 Friday 22 July 2022 00:26:45 +0000 (0:00:00.517) 0:00:41.021 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port (dict form)] ************************************************ task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:549 Friday 22 July 2022 00:26:46 +0000 (0:00:00.512) 0:00:41.534 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port again (dict form)] ****************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:560 Friday 22 July 2022 00:26:46 +0000 (0:00:00.562) 0:00:42.097 *********** ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (dict form)] **************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:571 Friday 22 July 2022 00:26:47 +0000 (0:00:00.572) 0:00:42.670 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:590 Friday 22 July 2022 00:26:47 +0000 (0:00:00.514) 0:00:43.184 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.286340", "end": "2022-07-22 00:26:48.652455", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:26:48.366115" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:595 Friday 22 July 2022 00:26:48 +0000 (0:00:00.596) 0:00:43.780 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.264061", "end": "2022-07-22 00:26:49.252286", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:26:48.988225" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:600 Friday 22 July 2022 00:26:49 +0000 (0:00:00.600) 0:00:44.381 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.281673", "end": "2022-07-22 00:26:49.870253", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:26:49.588580" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:605 Friday 22 July 2022 00:26:49 +0000 (0:00:00.616) 0:00:44.997 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.262370", "end": "2022-07-22 00:26:50.473873", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:26:50.211503" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:610 Friday 22 July 2022 00:26:50 +0000 (0:00:00.604) 0:00:45.602 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.264101", "end": "2022-07-22 00:26:51.067168", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:26:50.803067" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:615 Friday 22 July 2022 00:26:50 +0000 (0:00:00.591) 0:00:46.193 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.255700", "end": "2022-07-22 00:26:51.675226", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:26:51.419526" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:620 Friday 22 July 2022 00:26:51 +0000 (0:00:00.609) 0:00:46.802 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.290527", "end": "2022-07-22 00:26:52.287670", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:26:51.997143" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:625 Friday 22 July 2022 00:26:52 +0000 (0:00:00.614) 0:00:47.416 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.264620", "end": "2022-07-22 00:26:52.862610", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:26:52.597990" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp0ud2aoza/tests/tests_ansible.yml:630 Friday 22 July 2022 00:26:52 +0000 (0:00:00.574) 0:00:47.991 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.475111", "end": "2022-07-22 00:26:53.661482", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:26:53.186371" } 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 Friday 22 July 2022 00:26:53 +0000 (0:00:00.807) 0:00:48.798 *********** =============================================================================== Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmp0ud2aoza/tests/tests_ansible.yml:1 ------------------------------------ add description to custom service --------------------------------------- 0.84s /tmp/tmp0ud2aoza/tests/tests_ansible.yml:403 ---------------------------------- Reset default zone to defaults ------------------------------------------ 0.83s /tmp/tmp0ud2aoza/tests/tests_ansible.yml:44 ----------------------------------- Reload firewalld -------------------------------------------------------- 0.82s /tmp/tmp0ud2aoza/tests/tests_ansible.yml:57 ----------------------------------- Reload firewalld -------------------------------------------------------- 0.81s /tmp/tmp0ud2aoza/tests/tests_ansible.yml:630 ---------------------------------- add custom service with all the elements at once ------------------------ 0.79s /tmp/tmp0ud2aoza/tests/tests_ansible.yml:502 ---------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 0.78s /tmp/tmp0ud2aoza/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 add short description to custom service --------------------------------- 0.77s /tmp/tmp0ud2aoza/tests/tests_ansible.yml:412 ---------------------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 0.77s /tmp/tmp0ud2aoza/tests/tests_ansible.yml:267 ---------------------------------- delete custom service --------------------------------------------------- 0.76s /tmp/tmp0ud2aoza/tests/tests_ansible.yml:486 ---------------------------------- add destination addresses ----------------------------------------------- 0.76s /tmp/tmp0ud2aoza/tests/tests_ansible.yml:475 ---------------------------------- Firewalld custom zone --------------------------------------------------- 0.76s /tmp/tmp0ud2aoza/tests/tests_ansible.yml:327 ---------------------------------- remove valid protocol from customservice -------------------------------- 0.76s /tmp/tmp0ud2aoza/tests/tests_ansible.yml:457 ---------------------------------- add custom service without details -------------------------------------- 0.76s /tmp/tmp0ud2aoza/tests/tests_ansible.yml:387 ---------------------------------- add source_ports to custom service -------------------------------------- 0.76s /tmp/tmp0ud2aoza/tests/tests_ansible.yml:421 ---------------------------------- add valid protocol to custom service ------------------------------------ 0.75s /tmp/tmp0ud2aoza/tests/tests_ansible.yml:448 ---------------------------------- remove ports from custom service without deleting service --------------- 0.75s /tmp/tmp0ud2aoza/tests/tests_ansible.yml:466 ---------------------------------- Ensure default target in permanent internal zone ------------------------ 0.72s /tmp/tmp0ud2aoza/tests/tests_ansible.yml:285 ---------------------------------- Remove custom zone ------------------------------------------------------ 0.71s /tmp/tmp0ud2aoza/tests/tests_ansible.yml:14 ----------------------------------- Permit traffic in default zone for https service ------------------------ 0.65s /tmp/tmp0ud2aoza/tests/tests_ansible.yml:64 ----------------------------------- 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/tmp3beyrfjs 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/tmpax46fpde/tests/firewall/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:1 Friday 22 July 2022 00:29:57 +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/tmp3beyrfjs/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:29:58 +0000 (0:00:01.052) 0:00:01.067 *********** included: /tmp/tmp3beyrfjs/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/tmp3beyrfjs/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:29:58 +0000 (0:00:00.030) 0:00:01.097 *********** ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp3beyrfjs/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:29:59 +0000 (0:00:00.394) 0:00:01.491 *********** 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/tmp3beyrfjs/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:30:00 +0000 (0:00:00.772) 0:00:02.263 *********** 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/tmp3beyrfjs/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:30:00 +0000 (0:00:00.517) 0:00:02.781 *********** 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/tmp3beyrfjs/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:30:00 +0000 (0:00:00.026) 0:00:02.808 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-07-22 00:29:50 UTC", "ActiveEnterTimestampMonotonic": "3569723", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service basic.target polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-07-22 00:29:49 UTC", "AssertTimestampMonotonic": "3277515", "Before": "multi-user.target network-pre.target shutdown.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": "Fri 2022-07-22 00:29:49 UTC", "ConditionTimestampMonotonic": "3277515", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.service ebtables.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": "Fri 2022-07-22 00:29:49 UTC", "ExecMainStartTimestampMonotonic": "3278285", "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=[Fri 2022-07-22 00:29:49 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": "Fri 2022-07-22 00:29:49 UTC", "InactiveExitTimestampMonotonic": "3278326", "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": "Fri 2022-07-22 00:29:50 UTC", "WatchdogTimestampMonotonic": "3569668", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp3beyrfjs/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:30:01 +0000 (0:00:00.651) 0:00:03.459 *********** 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/tmp3beyrfjs/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:30:01 +0000 (0:00:00.049) 0:00:03.508 *********** 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/tmp3beyrfjs/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:30:01 +0000 (0:00:00.035) 0:00:03.543 *********** TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp3beyrfjs/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:30:01 +0000 (0:00:00.034) 0:00:03.578 *********** 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/tmp3beyrfjs/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:30:01 +0000 (0:00:00.033) 0:00:03.611 *********** 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/tmp3beyrfjs/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:30:01 +0000 (0:00:00.033) 0:00:03.644 *********** skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:14 Friday 22 July 2022 00:30:01 +0000 (0:00:00.041) 0:00:03.685 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.279836", "end": "2022-07-22 00:30:01.789025", "failed_when_result": false, "rc": 112, "start": "2022-07-22 00:30:01.509189" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:19 Friday 22 July 2022 00:30:02 +0000 (0:00:00.718) 0:00:04.404 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.286045", "end": "2022-07-22 00:30:02.396590", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:30:02.110545" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:24 Friday 22 July 2022 00:30:02 +0000 (0:00:00.605) 0:00:05.009 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.312511", "end": "2022-07-22 00:30:03.111605", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:30:02.799094" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:29 Friday 22 July 2022 00:30:03 +0000 (0:00:00.713) 0:00:05.723 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.266585", "end": "2022-07-22 00:30:03.694594", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:30:03.428009" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:34 Friday 22 July 2022 00:30:04 +0000 (0:00:00.580) 0:00:06.304 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.262347", "end": "2022-07-22 00:30:04.257438", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:30:03.995091" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:39 Friday 22 July 2022 00:30:04 +0000 (0:00:00.565) 0:00:06.870 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.275208", "end": "2022-07-22 00:30:04.835973", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:30:04.560765" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:44 Friday 22 July 2022 00:30:05 +0000 (0:00:00.577) 0:00:07.447 *********** 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.519620", "end": "2022-07-22 00:30:05.658486", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:30:05.138866" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:52 Friday 22 July 2022 00:30:06 +0000 (0:00:00.820) 0:00:08.268 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.248232", "end": "2022-07-22 00:30:06.211154", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:30:05.962922" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:57 Friday 22 July 2022 00:30:06 +0000 (0:00:00.553) 0:00:08.822 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.484460", "end": "2022-07-22 00:30:06.992466", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:30:06.508006" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:64 Friday 22 July 2022 00:30:07 +0000 (0:00:00.785) 0:00:09.608 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:72 Friday 22 July 2022 00:30:08 +0000 (0:00:00.644) 0:00:10.253 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:80 Friday 22 July 2022 00:30:08 +0000 (0:00:00.500) 0:00:10.753 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:88 Friday 22 July 2022 00:30:09 +0000 (0:00:00.502) 0:00:11.256 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:96 Friday 22 July 2022 00:30:09 +0000 (0:00:00.546) 0:00:11.802 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:104 Friday 22 July 2022 00:30:10 +0000 (0:00:00.534) 0:00:12.337 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:112 Friday 22 July 2022 00:30:10 +0000 (0:00:00.499) 0:00:12.836 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:120 Friday 22 July 2022 00:30:11 +0000 (0:00:00.548) 0:00:13.384 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:128 Friday 22 July 2022 00:30:11 +0000 (0:00:00.561) 0:00:13.946 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:137 Friday 22 July 2022 00:30:12 +0000 (0:00:00.537) 0:00:14.483 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:146 Friday 22 July 2022 00:30:12 +0000 (0:00:00.525) 0:00:15.009 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:154 Friday 22 July 2022 00:30:13 +0000 (0:00:00.496) 0:00:15.506 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:162 Friday 22 July 2022 00:30:13 +0000 (0:00:00.509) 0:00:16.015 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:171 Friday 22 July 2022 00:30:14 +0000 (0:00:00.498) 0:00:16.514 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:180 Friday 22 July 2022 00:30:14 +0000 (0:00:00.498) 0:00:17.013 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:189 Friday 22 July 2022 00:30:15 +0000 (0:00:00.496) 0:00:17.510 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:198 Friday 22 July 2022 00:30:15 +0000 (0:00:00.527) 0:00:18.037 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:206 Friday 22 July 2022 00:30:16 +0000 (0:00:00.510) 0:00:18.548 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:214 Friday 22 July 2022 00:30:16 +0000 (0:00:00.504) 0:00:19.053 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:222 Friday 22 July 2022 00:30:17 +0000 (0:00:00.506) 0:00:19.560 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:230 Friday 22 July 2022 00:30:17 +0000 (0:00:00.518) 0:00:20.079 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:238 Friday 22 July 2022 00:30:18 +0000 (0:00:00.493) 0:00:20.572 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:247 Friday 22 July 2022 00:30:18 +0000 (0:00:00.505) 0:00:21.077 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:256 Friday 22 July 2022 00:30:19 +0000 (0:00:00.502) 0:00:21.580 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:265 Friday 22 July 2022 00:30:19 +0000 (0:00:00.513) 0:00:22.093 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:274 Friday 22 July 2022 00:30:20 +0000 (0:00:00.744) 0:00:22.838 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:283 Friday 22 July 2022 00:30:21 +0000 (0:00:00.505) 0:00:23.344 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:292 Friday 22 July 2022 00:30:21 +0000 (0:00:00.780) 0:00:24.124 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:301 Friday 22 July 2022 00:30:22 +0000 (0:00:00.517) 0:00:24.641 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:311 Friday 22 July 2022 00:30:23 +0000 (0:00:00.522) 0:00:25.164 *********** ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:321 Friday 22 July 2022 00:30:23 +0000 (0:00:00.524) 0:00:25.689 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:329 Friday 22 July 2022 00:30:24 +0000 (0:00:00.756) 0:00:26.445 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:334 Friday 22 July 2022 00:30:24 +0000 (0:00:00.038) 0:00:26.483 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:344 Friday 22 July 2022 00:30:24 +0000 (0:00:00.516) 0:00:27.000 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:354 Friday 22 July 2022 00:30:25 +0000 (0:00:00.553) 0:00:27.553 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.266231", "end": "2022-07-22 00:30:25.556833", "rc": 0, "start": "2022-07-22 00:30:25.290602" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:357 Friday 22 July 2022 00:30:26 +0000 (0:00:00.611) 0:00:28.165 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:364 Friday 22 July 2022 00:30:26 +0000 (0:00:00.604) 0:00:28.770 *********** ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:371 Friday 22 July 2022 00:30:27 +0000 (0:00:00.546) 0:00:29.316 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:381 Friday 22 July 2022 00:30:27 +0000 (0:00:00.429) 0:00:29.746 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:389 Friday 22 July 2022 00:30:28 +0000 (0:00:00.788) 0:00:30.534 *********** ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:397 Friday 22 July 2022 00:30:28 +0000 (0:00:00.517) 0:00:31.052 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:406 Friday 22 July 2022 00:30:29 +0000 (0:00:00.802) 0:00:31.854 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:415 Friday 22 July 2022 00:30:30 +0000 (0:00:00.748) 0:00:32.602 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:424 Friday 22 July 2022 00:30:31 +0000 (0:00:00.745) 0:00:33.347 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:433 Friday 22 July 2022 00:30:31 +0000 (0:00:00.549) 0:00:33.897 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:442 Friday 22 July 2022 00:30:32 +0000 (0:00:00.520) 0:00:34.417 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:451 Friday 22 July 2022 00:30:33 +0000 (0:00:00.738) 0:00:35.156 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:460 Friday 22 July 2022 00:30:33 +0000 (0:00:00.748) 0:00:35.904 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:469 Friday 22 July 2022 00:30:34 +0000 (0:00:00.733) 0:00:36.638 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:480 Friday 22 July 2022 00:30:35 +0000 (0:00:00.732) 0:00:37.370 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:488 Friday 22 July 2022 00:30:36 +0000 (0:00:00.800) 0:00:38.171 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:496 Friday 22 July 2022 00:30:36 +0000 (0:00:00.491) 0:00:38.663 *********** 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/tmpax46fpde/tests/firewall/tests_ansible.yml:513 Friday 22 July 2022 00:30:37 +0000 (0:00:00.767) 0:00:39.430 *********** ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [forward port 40 to 0.0.0.0:8080 (string)] ******************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:522 Friday 22 July 2022 00:30:37 +0000 (0:00:00.518) 0:00:39.948 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward same port again (string)] **************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:529 Friday 22 July 2022 00:30:38 +0000 (0:00:00.523) 0:00:40.472 *********** ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (string)] ******************************************* task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:536 Friday 22 July 2022 00:30:38 +0000 (0:00:00.515) 0:00:40.987 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port (dict form)] ************************************************ task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:543 Friday 22 July 2022 00:30:39 +0000 (0:00:00.518) 0:00:41.505 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port again (dict form)] ****************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:554 Friday 22 July 2022 00:30:39 +0000 (0:00:00.518) 0:00:42.024 *********** ok: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (dict form)] **************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:565 Friday 22 July 2022 00:30:40 +0000 (0:00:00.517) 0:00:42.541 *********** changed: [/cache/centos-7.qcow2c.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:584 Friday 22 July 2022 00:30:40 +0000 (0:00:00.503) 0:00:43.044 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.261084", "end": "2022-07-22 00:30:41.038249", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:30:40.777165" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:589 Friday 22 July 2022 00:30:41 +0000 (0:00:00.606) 0:00:43.651 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.271449", "end": "2022-07-22 00:30:41.667995", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:30:41.396546" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:594 Friday 22 July 2022 00:30:42 +0000 (0:00:00.628) 0:00:44.279 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.272451", "end": "2022-07-22 00:30:42.266692", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:30:41.994241" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:599 Friday 22 July 2022 00:30:42 +0000 (0:00:00.599) 0:00:44.878 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.268580", "end": "2022-07-22 00:30:42.877093", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:30:42.608513" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:604 Friday 22 July 2022 00:30:43 +0000 (0:00:00.612) 0:00:45.491 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.281957", "end": "2022-07-22 00:30:43.525845", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:30:43.243888" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:609 Friday 22 July 2022 00:30:43 +0000 (0:00:00.646) 0:00:46.138 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.264001", "end": "2022-07-22 00:30:44.129909", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:30:43.865908" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:614 Friday 22 July 2022 00:30:44 +0000 (0:00:00.603) 0:00:46.742 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.284198", "end": "2022-07-22 00:30:44.754835", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:30:44.470637" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:619 Friday 22 July 2022 00:30:45 +0000 (0:00:00.625) 0:00:47.367 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.287897", "end": "2022-07-22 00:30:45.380849", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:30:45.092952" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:624 Friday 22 July 2022 00:30:45 +0000 (0:00:00.631) 0:00:47.999 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.459944", "end": "2022-07-22 00:30:46.163035", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:30:45.703091" } 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 Friday 22 July 2022 00:30:46 +0000 (0:00:00.787) 0:00:48.786 *********** =============================================================================== Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:1 --------------------------- Reset default zone to defaults ------------------------------------------ 0.82s /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:44 -------------------------- add description to custom service --------------------------------------- 0.80s /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:397 ------------------------- delete custom service --------------------------------------------------- 0.80s /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:480 ------------------------- add custom service without details -------------------------------------- 0.79s /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:381 ------------------------- Reload firewalld -------------------------------------------------------- 0.79s /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:624 ------------------------- Reload firewalld -------------------------------------------------------- 0.79s /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:57 -------------------------- Ensure default target in permanent internal zone ------------------------ 0.78s /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:283 ------------------------- fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.77s /tmp/tmp3beyrfjs/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 add custom service with all the elements at once ------------------------ 0.77s /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:496 ------------------------- Firewalld custom zone --------------------------------------------------- 0.76s /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:321 ------------------------- remove valid protocol from customservice -------------------------------- 0.75s /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:451 ------------------------- add short description to custom service --------------------------------- 0.75s /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:406 ------------------------- add source_ports to custom service -------------------------------------- 0.75s /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:415 ------------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 0.74s /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:265 ------------------------- add valid protocol to custom service ------------------------------------ 0.74s /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:442 ------------------------- remove ports from custom service without deleting service --------------- 0.73s /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:460 ------------------------- add destination addresses ----------------------------------------------- 0.73s /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:469 ------------------------- Remove custom zone ------------------------------------------------------ 0.72s /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:14 -------------------------- Reset trusted zone to defaults ------------------------------------------ 0.71s /tmp/tmpax46fpde/tests/firewall/tests_ansible.yml:24 --------------------------