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/tmp0aoro6e0
  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-8_setup.yml ***************************************************
1 plays in /cache/centos-8_setup.yml

PLAY [Enable HA repos] *********************************************************
META: ran handlers

TASK [Enable HA repos] *********************************************************
task path: /cache/centos-8_setup.yml:5
Wednesday 03 August 2022  07:56:37 +0000 (0:00:00.019)       0:00:00.019 ****** 
changed: [/cache/centos-8.qcow2] => {
    "ansible_facts": {
        "discovered_interpreter_python": "/usr/libexec/platform-python"
    },
    "changed": true,
    "cmd": [
        "dnf",
        "config-manager",
        "--set-enabled",
        "ha"
    ],
    "delta": "0:00:00.208609",
    "end": "2022-08-03 07:56:37.091542",
    "rc": 0,
    "start": "2022-08-03 07:56:36.882933"
}
META: ran handlers
META: ran handlers

PLAY RECAP *********************************************************************
/cache/centos-8.qcow2      : ok=1    changed=1    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   

Wednesday 03 August 2022  07:56:38 +0000 (0:00:00.796)       0:00:00.815 ****** 
=============================================================================== 
Enable HA repos --------------------------------------------------------- 0.80s
/cache/centos-8_setup.yml:5 ---------------------------------------------------

PLAYBOOK: tests_port.yml *******************************************************
2 plays in /tmp/tmpi0jzgqc6/tests/tests_port.yml

PLAY [test - local setup] ******************************************************
META: ran handlers

TASK [Download current linux-system-roles.selinux] *****************************
task path: /tmp/tmpi0jzgqc6/tests/tests_port.yml:6
Wednesday 03 August 2022  07:56:38 +0000 (0:00:00.019)       0:00:00.835 ****** 
changed: [127.0.0.1] => {
    "after": "03bd4c1b2d98b8fae656762bdbbd1c36337b4a72",
    "before": null,
    "changed": true
}
META: ran handlers
META: ran handlers

PLAY [Test cockpit_port option] ************************************************

TASK [Gathering Facts] *********************************************************
task path: /tmp/tmpi0jzgqc6/tests/tests_port.yml:18
Wednesday 03 August 2022  07:56:39 +0000 (0:00:00.982)       0:00:01.818 ****** 
ok: [/cache/centos-8.qcow2]
META: ran handlers

TASK [Run cockpit role] ********************************************************
task path: /tmp/tmpi0jzgqc6/tests/tests_port.yml:24
Wednesday 03 August 2022  07:56:40 +0000 (0:00:01.124)       0:00:02.943 ****** 

TASK [linux-system-roles.cockpit : Ensure ansible_facts and variables used by role] ***
task path: /tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/main.yml:1
Wednesday 03 August 2022  07:56:40 +0000 (0:00:00.038)       0:00:02.981 ****** 
included: /tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/set_vars.yml for /cache/centos-8.qcow2

TASK [linux-system-roles.cockpit : Ensure ansible_facts used by role] **********
task path: /tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/set_vars.yml:2
Wednesday 03 August 2022  07:56:40 +0000 (0:00:00.025)       0:00:03.007 ****** 
ok: [/cache/centos-8.qcow2]

TASK [linux-system-roles.cockpit : Set version specific variables] *************
task path: /tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/set_vars.yml:8
Wednesday 03 August 2022  07:56:41 +0000 (0:00:00.514)       0:00:03.521 ****** 
ok: [/cache/centos-8.qcow2] => (item=/tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/vars/CentOS-8.yml) => {
    "ansible_facts": {
        "__cockpit_packages": {
            "default": "{{ __cockpit_packages_minimal + __cockpit_packages_default }}",
            "full": "{{ __cockpit_packages_minimal + __cockpit_packages_default + __cockpit_packages_full }}",
            "minimal": "{{ __cockpit_packages_minimal }}"
        },
        "__cockpit_packages_default": [
            "cockpit",
            "cockpit-networkmanager",
            "cockpit-packagekit",
            "cockpit-selinux",
            "cockpit-storaged"
        ],
        "__cockpit_packages_exclude": [
            "cockpit-docker",
            "cockpit-ostree",
            "cockpit-tests"
        ],
        "__cockpit_packages_full": [
            "cockpit-*"
        ],
        "__cockpit_packages_minimal": [
            "cockpit-system",
            "cockpit-ws"
        ]
    },
    "ansible_included_var_files": [
        "/tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/vars/CentOS-8.yml"
    ],
    "ansible_loop_var": "item",
    "changed": false,
    "item": "/tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/vars/CentOS-8.yml"
}

TASK [linux-system-roles.cockpit : List active RHEL repositories] **************
task path: /tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/main.yml:9
Wednesday 03 August 2022  07:56:41 +0000 (0:00:00.038)       0:00:03.559 ****** 
skipping: [/cache/centos-8.qcow2] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.cockpit : Enable RHEL repositories] *******************
task path: /tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/main.yml:17
Wednesday 03 August 2022  07:56:41 +0000 (0:00:00.021)       0:00:03.581 ****** 
skipping: [/cache/centos-8.qcow2] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.cockpit : Manage cockpit packages using platform specific package manager if applicable] ***
task path: /tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/main.yml:21
Wednesday 03 August 2022  07:56:41 +0000 (0:00:00.020)       0:00:03.601 ****** 
included: /tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/setup-dnf.yml for /cache/centos-8.qcow2 => (item=/tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/setup-dnf.yml)

TASK [linux-system-roles.cockpit : If choosing custom package set, ensure minimal cockpit is included] ***
task path: /tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/setup-dnf.yml:1
Wednesday 03 August 2022  07:56:41 +0000 (0:00:00.036)       0:00:03.638 ****** 
ok: [/cache/centos-8.qcow2] => {
    "ansible_facts": {
        "cockpit_packages": "minimal"
    },
    "changed": false
}

TASK [linux-system-roles.cockpit : Ensure Cockpit Web Console packages are installed.] ***
task path: /tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/setup-dnf.yml:8
Wednesday 03 August 2022  07:56:41 +0000 (0:00:00.036)       0:00:03.674 ****** 
changed: [/cache/centos-8.qcow2] => {
    "changed": true,
    "rc": 0,
    "results": [
        "Installed: cockpit-bridge-273-2.el8.x86_64",
        "Installed: cockpit-ws-273-2.el8.x86_64",
        "Installed: cockpit-system-273-2.el8.noarch"
    ]
}

TASK [linux-system-roles.cockpit : Create custom port configuration file directory] ***
task path: /tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/main.yml:27
Wednesday 03 August 2022  07:57:01 +0000 (0:00:20.729)       0:00:24.404 ****** 
changed: [/cache/centos-8.qcow2] => {
    "changed": true,
    "gid": 0,
    "group": "root",
    "mode": "0755",
    "owner": "root",
    "path": "/etc/systemd/system/cockpit.socket.d/",
    "secontext": "unconfined_u:object_r:systemd_unit_file_t:s0",
    "size": 6,
    "state": "directory",
    "uid": 0
}

TASK [linux-system-roles.cockpit : Create custom port configuration file] ******
task path: /tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/main.yml:35
Wednesday 03 August 2022  07:57:02 +0000 (0:00:00.525)       0:00:24.929 ****** 
NOTIFIED HANDLER linux-system-roles.cockpit : reload systemd for /cache/centos-8.qcow2
NOTIFIED HANDLER linux-system-roles.cockpit : restart cockpit for /cache/centos-8.qcow2
changed: [/cache/centos-8.qcow2] => {
    "changed": true,
    "checksum": "164ea3fa544fc046daf315017ad1467da72400af",
    "dest": "/etc/systemd/system/cockpit.socket.d/listen.conf",
    "gid": 0,
    "group": "root",
    "md5sum": "704221a49efdb16bf16bc689ef8cbee7",
    "mode": "0644",
    "owner": "root",
    "secontext": "system_u:object_r:cockpit_unit_file_t:s0",
    "size": 40,
    "src": "/root/.ansible/tmp/ansible-tmp-1659513422.5063674-297584-130509823594313/source",
    "state": "file",
    "uid": 0
}

TASK [linux-system-roles.cockpit : Check if SELinux is enabled] ****************
task path: /tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/main.yml:51
Wednesday 03 August 2022  07:57:03 +0000 (0:00:00.927)       0:00:25.856 ****** 
ok: [/cache/centos-8.qcow2] => {
    "changed": false,
    "cmd": [
        "selinuxenabled"
    ],
    "delta": "0:00:00.002794",
    "end": "2022-08-03 07:57:02.507294",
    "failed_when_result": false,
    "rc": 0,
    "start": "2022-08-03 07:57:02.504500"
}

TASK [Allow cockpit to own custom port in SELinux policy] **********************
task path: /tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/main.yml:58
Wednesday 03 August 2022  07:57:03 +0000 (0:00:00.367)       0:00:26.224 ****** 
redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux
ERROR! couldn't resolve module/action 'selinux'. This often indicates a misspelling, missing collection, or incorrect module path.

The error appears to be in '/tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.selinux/tasks/main.yml': line 5, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


- name: Set permanent SELinux state if enabled
  ^ here

TASK [include_tasks] ***********************************************************
task path: /tmp/tmpi0jzgqc6/tests/tests_port.yml:56
Wednesday 03 August 2022  07:57:03 +0000 (0:00:00.045)       0:00:26.269 ****** 
included: /tmp/tmpi0jzgqc6/tests/tasks/cleanup.yml for /cache/centos-8.qcow2

TASK [cleanup - packages] ******************************************************
task path: /tmp/tmpi0jzgqc6/tests/tasks/cleanup.yml:1
Wednesday 03 August 2022  07:57:03 +0000 (0:00:00.030)       0:00:26.299 ****** 
changed: [/cache/centos-8.qcow2] => {
    "changed": true,
    "rc": 0,
    "results": [
        "Removed: cockpit-bridge-273-2.el8.x86_64",
        "Removed: cockpit-system-273-2.el8.noarch",
        "Removed: cockpit-ws-273-2.el8.x86_64"
    ]
}

TASK [cleanup - find certificates] *********************************************
task path: /tmp/tmpi0jzgqc6/tests/tasks/cleanup.yml:13
Wednesday 03 August 2022  07:57:22 +0000 (0:00:18.419)       0:00:44.719 ****** 
[WARNING]: Skipped '/etc/cockpit/ws-certs.d/' path due to this access issue:
'/etc/cockpit/ws-certs.d/' is not a directory
ok: [/cache/centos-8.qcow2] => {
    "changed": false,
    "examined": 0,
    "files": [],
    "matched": 0,
    "skipped_paths": {
        "/etc/cockpit/ws-certs.d/": "'/etc/cockpit/ws-certs.d/' is not a directory"
    }
}

MSG:

Not all paths examined, check warnings for details

TASK [cleanup - certificates] **************************************************
task path: /tmp/tmpi0jzgqc6/tests/tasks/cleanup.yml:23
Wednesday 03 August 2022  07:57:22 +0000 (0:00:00.475)       0:00:45.195 ****** 

TASK [cleanup - config file] ***************************************************
task path: /tmp/tmpi0jzgqc6/tests/tasks/cleanup.yml:32
Wednesday 03 August 2022  07:57:22 +0000 (0:00:00.018)       0:00:45.214 ****** 
ok: [/cache/centos-8.qcow2] => {
    "changed": false,
    "path": "/etc/cockpit/cockpit.conf",
    "state": "absent"
}

TASK [cleanup - port customization] ********************************************
task path: /tmp/tmpi0jzgqc6/tests/tasks/cleanup.yml:40
Wednesday 03 August 2022  07:57:23 +0000 (0:00:00.347)       0:00:45.561 ****** 
changed: [/cache/centos-8.qcow2] => {
    "changed": true,
    "path": "/etc/systemd/system/cockpit.socket.d/",
    "state": "absent"
}

TASK [cleanup - reload systemd] ************************************************
task path: /tmp/tmpi0jzgqc6/tests/tasks/cleanup.yml:48
Wednesday 03 August 2022  07:57:23 +0000 (0:00:00.356)       0:00:45.918 ****** 
ok: [/cache/centos-8.qcow2] => {
    "changed": false,
    "name": null,
    "status": {}
}

RUNNING HANDLER [linux-system-roles.cockpit : reload systemd] ******************
task path: /tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/handlers/main.yml:3
Wednesday 03 August 2022  07:57:24 +0000 (0:00:00.843)       0:00:46.762 ****** 

RUNNING HANDLER [linux-system-roles.cockpit : restart cockpit] *****************
task path: /tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/handlers/main.yml:7
Wednesday 03 August 2022  07:57:24 +0000 (0:00:00.000)       0:00:46.762 ****** 

PLAY RECAP *********************************************************************
/cache/centos-8.qcow2      : ok=17   changed=6    unreachable=0    failed=0    skipped=3    rescued=0    ignored=0   
127.0.0.1                  : ok=1    changed=1    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   

Wednesday 03 August 2022  07:57:24 +0000 (0:00:00.001)       0:00:46.764 ****** 
=============================================================================== 
linux-system-roles.cockpit : Ensure Cockpit Web Console packages are installed. -- 20.73s
/tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/setup-dnf.yml:8 -
cleanup - packages ----------------------------------------------------- 18.42s
/tmp/tmpi0jzgqc6/tests/tasks/cleanup.yml:1 ------------------------------------
Gathering Facts --------------------------------------------------------- 1.13s
/tmp/tmpi0jzgqc6/tests/tests_port.yml:18 --------------------------------------
Download current linux-system-roles.selinux ----------------------------- 0.98s
/tmp/tmpi0jzgqc6/tests/tests_port.yml:6 ---------------------------------------
linux-system-roles.cockpit : Create custom port configuration file ------ 0.93s
/tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/main.yml:35 -----
cleanup - reload systemd ------------------------------------------------ 0.84s
/tmp/tmpi0jzgqc6/tests/tasks/cleanup.yml:48 -----------------------------------
Enable HA repos --------------------------------------------------------- 0.80s
/cache/centos-8_setup.yml:5 ---------------------------------------------------
linux-system-roles.cockpit : Create custom port configuration file directory --- 0.53s
/tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/main.yml:27 -----
linux-system-roles.cockpit : Ensure ansible_facts used by role ---------- 0.51s
/tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/set_vars.yml:2 --
cleanup - find certificates --------------------------------------------- 0.48s
/tmp/tmpi0jzgqc6/tests/tasks/cleanup.yml:13 -----------------------------------
linux-system-roles.cockpit : Check if SELinux is enabled ---------------- 0.37s
/tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/main.yml:51 -----
cleanup - port customization -------------------------------------------- 0.36s
/tmp/tmpi0jzgqc6/tests/tasks/cleanup.yml:40 -----------------------------------
cleanup - config file --------------------------------------------------- 0.35s
/tmp/tmpi0jzgqc6/tests/tasks/cleanup.yml:32 -----------------------------------
Allow cockpit to own custom port in SELinux policy ---------------------- 0.05s
/tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/main.yml:58 -----
Run cockpit role -------------------------------------------------------- 0.04s
/tmp/tmpi0jzgqc6/tests/tests_port.yml:24 --------------------------------------
linux-system-roles.cockpit : Set version specific variables ------------- 0.04s
/tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/set_vars.yml:8 --
linux-system-roles.cockpit : If choosing custom package set, ensure minimal cockpit is included --- 0.04s
/tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/setup-dnf.yml:1 -
linux-system-roles.cockpit : Manage cockpit packages using platform specific package manager if applicable --- 0.04s
/tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/main.yml:21 -----
include_tasks ----------------------------------------------------------- 0.03s
/tmp/tmpi0jzgqc6/tests/tests_port.yml:56 --------------------------------------
linux-system-roles.cockpit : Ensure ansible_facts and variables used by role --- 0.03s
/tmp/tmpi0jzgqc6/tests/roles/linux-system-roles.cockpit/tasks/main.yml:1 ------
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/tmp0aoro6e0
  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-8_setup.yml ***************************************************
1 plays in /cache/centos-8_setup.yml

PLAY [Enable HA repos] *********************************************************
META: ran handlers

TASK [Enable HA repos] *********************************************************
task path: /cache/centos-8_setup.yml:5
Wednesday 03 August 2022  08:08:05 +0000 (0:00:00.018)       0:00:00.018 ****** 
changed: [/cache/centos-8.qcow2] => {
    "ansible_facts": {
        "discovered_interpreter_python": "/usr/libexec/platform-python"
    },
    "changed": true,
    "cmd": [
        "dnf",
        "config-manager",
        "--set-enabled",
        "ha"
    ],
    "delta": "0:00:00.219308",
    "end": "2022-08-03 08:08:05.352471",
    "rc": 0,
    "start": "2022-08-03 08:08:05.133163"
}
META: ran handlers
META: ran handlers

PLAY RECAP *********************************************************************
/cache/centos-8.qcow2      : ok=1    changed=1    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   

Wednesday 03 August 2022  08:08:06 +0000 (0:00:00.816)       0:00:00.835 ****** 
=============================================================================== 
Enable HA repos --------------------------------------------------------- 0.82s
/cache/centos-8_setup.yml:5 ---------------------------------------------------

PLAYBOOK: tests_port.yml *******************************************************
2 plays in /tmp/tmp7hpg_90z/tests/cockpit/tests_port.yml

PLAY [test - local setup] ******************************************************
META: ran handlers

TASK [Download current linux-system-roles.selinux] *****************************
task path: /tmp/tmp7hpg_90z/tests/cockpit/tests_port.yml:6
Wednesday 03 August 2022  08:08:06 +0000 (0:00:00.018)       0:00:00.854 ****** 
changed: [127.0.0.1] => {
    "after": "03bd4c1b2d98b8fae656762bdbbd1c36337b4a72",
    "before": null,
    "changed": true
}
META: ran handlers
META: ran handlers

PLAY [Test cockpit_port option] ************************************************

TASK [Gathering Facts] *********************************************************
task path: /tmp/tmp7hpg_90z/tests/cockpit/tests_port.yml:18
Wednesday 03 August 2022  08:08:07 +0000 (0:00:00.950)       0:00:01.804 ****** 
ok: [/cache/centos-8.qcow2]
META: ran handlers

TASK [Run cockpit role] ********************************************************
task path: /tmp/tmp7hpg_90z/tests/cockpit/tests_port.yml:24
Wednesday 03 August 2022  08:08:08 +0000 (0:00:01.134)       0:00:02.939 ****** 

TASK [fedora.linux_system_roles.cockpit : Ensure ansible_facts and variables used by role] ***
task path: /tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:1
Wednesday 03 August 2022  08:08:08 +0000 (0:00:00.044)       0:00:02.984 ****** 
included: /tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml for /cache/centos-8.qcow2

TASK [fedora.linux_system_roles.cockpit : Ensure ansible_facts used by role] ***
task path: /tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:2
Wednesday 03 August 2022  08:08:08 +0000 (0:00:00.027)       0:00:03.011 ****** 
ok: [/cache/centos-8.qcow2]

TASK [fedora.linux_system_roles.cockpit : Set version specific variables] ******
task path: /tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:7
Wednesday 03 August 2022  08:08:09 +0000 (0:00:00.512)       0:00:03.523 ****** 
ok: [/cache/centos-8.qcow2] => (item=/tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/CentOS-8.yml) => {
    "ansible_facts": {
        "__cockpit_packages": {
            "default": "{{ __cockpit_packages_minimal + __cockpit_packages_default }}",
            "full": "{{ __cockpit_packages_minimal + __cockpit_packages_default + __cockpit_packages_full }}",
            "minimal": "{{ __cockpit_packages_minimal }}"
        },
        "__cockpit_packages_default": [
            "cockpit",
            "cockpit-networkmanager",
            "cockpit-packagekit",
            "cockpit-selinux",
            "cockpit-storaged"
        ],
        "__cockpit_packages_exclude": [
            "cockpit-docker",
            "cockpit-ostree",
            "cockpit-tests"
        ],
        "__cockpit_packages_full": [
            "cockpit-*"
        ],
        "__cockpit_packages_minimal": [
            "cockpit-system",
            "cockpit-ws"
        ]
    },
    "ansible_included_var_files": [
        "/tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/CentOS-8.yml"
    ],
    "ansible_loop_var": "item",
    "changed": false,
    "item": "/tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/CentOS-8.yml"
}

TASK [fedora.linux_system_roles.cockpit : List active RHEL repositories] *******
task path: /tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:9
Wednesday 03 August 2022  08:08:09 +0000 (0:00:00.038)       0:00:03.562 ****** 
skipping: [/cache/centos-8.qcow2] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.cockpit : Enable RHEL repositories] ************
task path: /tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:17
Wednesday 03 August 2022  08:08:09 +0000 (0:00:00.020)       0:00:03.582 ****** 
skipping: [/cache/centos-8.qcow2] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.cockpit : Manage cockpit packages using platform specific package manager if applicable] ***
task path: /tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:21
Wednesday 03 August 2022  08:08:09 +0000 (0:00:00.020)       0:00:03.603 ****** 
included: /tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml for /cache/centos-8.qcow2 => (item=/tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml)

TASK [fedora.linux_system_roles.cockpit : If choosing custom package set, ensure minimal cockpit is included] ***
task path: /tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:1
Wednesday 03 August 2022  08:08:09 +0000 (0:00:00.035)       0:00:03.638 ****** 
ok: [/cache/centos-8.qcow2] => {
    "ansible_facts": {
        "cockpit_packages": "minimal"
    },
    "changed": false
}

TASK [fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console packages are installed.] ***
task path: /tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:6
Wednesday 03 August 2022  08:08:09 +0000 (0:00:00.035)       0:00:03.674 ****** 
changed: [/cache/centos-8.qcow2] => {
    "changed": true,
    "rc": 0,
    "results": [
        "Installed: cockpit-bridge-273-2.el8.x86_64",
        "Installed: cockpit-ws-273-2.el8.x86_64",
        "Installed: cockpit-system-273-2.el8.noarch"
    ]
}

TASK [fedora.linux_system_roles.cockpit : Create custom port configuration file directory] ***
task path: /tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:27
Wednesday 03 August 2022  08:08:29 +0000 (0:00:20.594)       0:00:24.268 ****** 
changed: [/cache/centos-8.qcow2] => {
    "changed": true,
    "gid": 0,
    "group": "root",
    "mode": "0755",
    "owner": "root",
    "path": "/etc/systemd/system/cockpit.socket.d/",
    "secontext": "unconfined_u:object_r:systemd_unit_file_t:s0",
    "size": 6,
    "state": "directory",
    "uid": 0
}

TASK [fedora.linux_system_roles.cockpit : Create custom port configuration file] ***
task path: /tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:35
Wednesday 03 August 2022  08:08:30 +0000 (0:00:00.523)       0:00:24.791 ****** 
NOTIFIED HANDLER fedora.linux_system_roles.cockpit : reload systemd for /cache/centos-8.qcow2
NOTIFIED HANDLER fedora.linux_system_roles.cockpit : restart cockpit for /cache/centos-8.qcow2
changed: [/cache/centos-8.qcow2] => {
    "changed": true,
    "checksum": "164ea3fa544fc046daf315017ad1467da72400af",
    "dest": "/etc/systemd/system/cockpit.socket.d/listen.conf",
    "gid": 0,
    "group": "root",
    "md5sum": "704221a49efdb16bf16bc689ef8cbee7",
    "mode": "0644",
    "owner": "root",
    "secontext": "system_u:object_r:cockpit_unit_file_t:s0",
    "size": 40,
    "src": "/root/.ansible/tmp/ansible-tmp-1659514110.5110874-301075-210660163919339/source",
    "state": "file",
    "uid": 0
}

TASK [fedora.linux_system_roles.cockpit : Check if SELinux is enabled] *********
task path: /tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:51
Wednesday 03 August 2022  08:08:31 +0000 (0:00:00.937)       0:00:25.729 ****** 
ok: [/cache/centos-8.qcow2] => {
    "changed": false,
    "cmd": [
        "selinuxenabled"
    ],
    "delta": "0:00:00.003282",
    "end": "2022-08-03 08:08:30.638174",
    "failed_when_result": false,
    "rc": 0,
    "start": "2022-08-03 08:08:30.634892"
}

TASK [Allow cockpit to own custom port in SELinux policy] **********************
task path: /tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:58
Wednesday 03 August 2022  08:08:31 +0000 (0:00:00.387)       0:00:26.117 ****** 
redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux
ERROR! couldn't resolve module/action 'selinux'. This often indicates a misspelling, missing collection, or incorrect module path.

The error appears to be in '/tmp/tmp7hpg_90z/tests/cockpit/roles/linux-system-roles.selinux/tasks/main.yml': line 5, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


- name: Set permanent SELinux state if enabled
  ^ here

TASK [include_tasks] ***********************************************************
task path: /tmp/tmp7hpg_90z/tests/cockpit/tests_port.yml:56
Wednesday 03 August 2022  08:08:31 +0000 (0:00:00.044)       0:00:26.161 ****** 
included: /tmp/tmp7hpg_90z/tests/cockpit/tasks/cleanup.yml for /cache/centos-8.qcow2

TASK [cleanup - packages] ******************************************************
task path: /tmp/tmp7hpg_90z/tests/cockpit/tasks/cleanup.yml:1
Wednesday 03 August 2022  08:08:31 +0000 (0:00:00.031)       0:00:26.193 ****** 
changed: [/cache/centos-8.qcow2] => {
    "changed": true,
    "rc": 0,
    "results": [
        "Removed: cockpit-bridge-273-2.el8.x86_64",
        "Removed: cockpit-system-273-2.el8.noarch",
        "Removed: cockpit-ws-273-2.el8.x86_64"
    ]
}

TASK [cleanup - find certificates] *********************************************
task path: /tmp/tmp7hpg_90z/tests/cockpit/tasks/cleanup.yml:13
Wednesday 03 August 2022  08:08:49 +0000 (0:00:18.000)       0:00:44.194 ****** 
[WARNING]: Skipped '/etc/cockpit/ws-certs.d/' path due to this access issue:
'/etc/cockpit/ws-certs.d/' is not a directory
ok: [/cache/centos-8.qcow2] => {
    "changed": false,
    "examined": 0,
    "files": [],
    "matched": 0,
    "skipped_paths": {
        "/etc/cockpit/ws-certs.d/": "'/etc/cockpit/ws-certs.d/' is not a directory"
    }
}

MSG:

Not all paths examined, check warnings for details

TASK [cleanup - certificates] **************************************************
task path: /tmp/tmp7hpg_90z/tests/cockpit/tasks/cleanup.yml:23
Wednesday 03 August 2022  08:08:50 +0000 (0:00:00.480)       0:00:44.674 ****** 

TASK [cleanup - config file] ***************************************************
task path: /tmp/tmp7hpg_90z/tests/cockpit/tasks/cleanup.yml:32
Wednesday 03 August 2022  08:08:50 +0000 (0:00:00.020)       0:00:44.695 ****** 
ok: [/cache/centos-8.qcow2] => {
    "changed": false,
    "path": "/etc/cockpit/cockpit.conf",
    "state": "absent"
}

TASK [cleanup - port customization] ********************************************
task path: /tmp/tmp7hpg_90z/tests/cockpit/tasks/cleanup.yml:40
Wednesday 03 August 2022  08:08:50 +0000 (0:00:00.357)       0:00:45.052 ****** 
changed: [/cache/centos-8.qcow2] => {
    "changed": true,
    "path": "/etc/systemd/system/cockpit.socket.d/",
    "state": "absent"
}

TASK [cleanup - reload systemd] ************************************************
task path: /tmp/tmp7hpg_90z/tests/cockpit/tasks/cleanup.yml:48
Wednesday 03 August 2022  08:08:51 +0000 (0:00:00.370)       0:00:45.422 ****** 
ok: [/cache/centos-8.qcow2] => {
    "changed": false,
    "name": null,
    "status": {}
}

RUNNING HANDLER [fedora.linux_system_roles.cockpit : reload systemd] ***********
task path: /tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/handlers/main.yml:3
Wednesday 03 August 2022  08:08:51 +0000 (0:00:00.853)       0:00:46.276 ****** 

RUNNING HANDLER [fedora.linux_system_roles.cockpit : restart cockpit] **********
task path: /tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/handlers/main.yml:7
Wednesday 03 August 2022  08:08:51 +0000 (0:00:00.000)       0:00:46.277 ****** 

PLAY RECAP *********************************************************************
/cache/centos-8.qcow2      : ok=17   changed=6    unreachable=0    failed=0    skipped=3    rescued=0    ignored=0   
127.0.0.1                  : ok=1    changed=1    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   

Wednesday 03 August 2022  08:08:51 +0000 (0:00:00.001)       0:00:46.279 ****** 
=============================================================================== 
fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console packages are installed. -- 20.59s
/tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:6 
cleanup - packages ----------------------------------------------------- 18.00s
/tmp/tmp7hpg_90z/tests/cockpit/tasks/cleanup.yml:1 ----------------------------
Gathering Facts --------------------------------------------------------- 1.13s
/tmp/tmp7hpg_90z/tests/cockpit/tests_port.yml:18 ------------------------------
Download current linux-system-roles.selinux ----------------------------- 0.95s
/tmp/tmp7hpg_90z/tests/cockpit/tests_port.yml:6 -------------------------------
fedora.linux_system_roles.cockpit : Create custom port configuration file --- 0.94s
/tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:35 
cleanup - reload systemd ------------------------------------------------ 0.85s
/tmp/tmp7hpg_90z/tests/cockpit/tasks/cleanup.yml:48 ---------------------------
Enable HA repos --------------------------------------------------------- 0.82s
/cache/centos-8_setup.yml:5 ---------------------------------------------------
fedora.linux_system_roles.cockpit : Create custom port configuration file directory --- 0.52s
/tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:27 
fedora.linux_system_roles.cockpit : Ensure ansible_facts used by role --- 0.51s
/tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:2 
cleanup - find certificates --------------------------------------------- 0.48s
/tmp/tmp7hpg_90z/tests/cockpit/tasks/cleanup.yml:13 ---------------------------
fedora.linux_system_roles.cockpit : Check if SELinux is enabled --------- 0.39s
/tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:51 
cleanup - port customization -------------------------------------------- 0.37s
/tmp/tmp7hpg_90z/tests/cockpit/tasks/cleanup.yml:40 ---------------------------
cleanup - config file --------------------------------------------------- 0.36s
/tmp/tmp7hpg_90z/tests/cockpit/tasks/cleanup.yml:32 ---------------------------
Run cockpit role -------------------------------------------------------- 0.04s
/tmp/tmp7hpg_90z/tests/cockpit/tests_port.yml:24 ------------------------------
Allow cockpit to own custom port in SELinux policy ---------------------- 0.04s
/tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:58 
fedora.linux_system_roles.cockpit : Set version specific variables ------ 0.04s
/tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:7 
fedora.linux_system_roles.cockpit : Manage cockpit packages using platform specific package manager if applicable --- 0.04s
/tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:21 
fedora.linux_system_roles.cockpit : If choosing custom package set, ensure minimal cockpit is included --- 0.04s
/tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:1 
include_tasks ----------------------------------------------------------- 0.03s
/tmp/tmp7hpg_90z/tests/cockpit/tests_port.yml:56 ------------------------------
fedora.linux_system_roles.cockpit : Ensure ansible_facts and variables used by role --- 0.03s
/tmp/tmp0aoro6e0/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:1