# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Ensure that the role runs with default parameters] *********************** TASK [linux-system-roles.vpn : set platform/version specific variables] ******** Thursday 18 August 2022 14:59:47 +0000 (0:00:00.034) 0:00:00.034 ******* included: /WORKDIR/dist-git-vpn-various_improvements-U_YlyE/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml for sut TASK [linux-system-roles.vpn : Ensure ansible_facts used by role] ************** Thursday 18 August 2022 14:59:47 +0000 (0:00:00.032) 0:00:00.066 ******* ok: [sut] TASK [linux-system-roles.vpn : Set platform/version specific variables] ******** Thursday 18 August 2022 14:59:48 +0000 (0:00:00.703) 0:00:00.770 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-vpn-various_improvements-U_YlyE/tests/roles/linux-system-roles.vpn/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.vpn : Ensure required packages are installed] ********* Thursday 18 August 2022 14:59:48 +0000 (0:00:00.083) 0:00:00.853 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: libreswan-4.5-1.el8.x86_64", "Installed: nss-tools-3.79.0-8.el8_6.x86_64", "Installed: ldns-1.7.0-21.el8.x86_64" ] } TASK [linux-system-roles.vpn : Ensure OpenSSL is installed on the controller] *** Thursday 18 August 2022 14:59:52 +0000 (0:00:04.766) 0:00:05.620 ******* fatal: [sut -> localhost]: FAILED! => { "changed": false, "cmd": "dnf install -y python3-dnf", "rc": 1, "results": [] } STDERR: Error: This command has to be run with superuser privileges (under the root user on most systems). MSG: Could not import the dnf python module using /opt/ansible-2.9/bin/python3.6 (3.6.8 (default, Mar 25 2022, 11:15:52) [GCC 8.5.0 20210514 (Red Hat 8.5.0-10)]). Please install `python3-dnf` package or ensure you have specified the correct ansible_python_interpreter. NO MORE HOSTS LEFT ************************************************************* to retry, use: --limit @/tmp/tests_default.retry PLAY RECAP ********************************************************************* sut : ok=4 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Thursday 18 August 2022 14:59:54 +0000 (0:00:01.128) 0:00:06.749 ******* =============================================================================== linux-system-roles.vpn : Ensure required packages are installed --------- 4.77s linux-system-roles.vpn : Ensure OpenSSL is installed on the controller --- 1.13s linux-system-roles.vpn : Ensure ansible_facts used by role -------------- 0.70s linux-system-roles.vpn : Set platform/version specific variables -------- 0.08s linux-system-roles.vpn : set platform/version specific variables -------- 0.03s ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/ansible-2.9/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---