# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Ensure that the role declares all parameters in defaults] **************** TASK [Gathering Facts] ********************************************************* Thursday 18 August 2022 14:59:46 +0000 (0:00:00.031) 0:00:00.031 ******* ok: [sut] TASK [include_role : linux-system-roles.vpn] *********************************** Thursday 18 August 2022 14:59:47 +0000 (0:00:00.816) 0:00:00.847 ******* TASK [linux-system-roles.vpn : set platform/version specific variables] ******** Thursday 18 August 2022 14:59:47 +0000 (0:00:00.077) 0:00:00.924 ******* 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.043) 0:00:00.968 ******* ok: [sut] TASK [linux-system-roles.vpn : Set platform/version specific variables] ******** Thursday 18 August 2022 14:59:47 +0000 (0:00:00.435) 0:00:01.404 ******* 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.085) 0:00:01.490 ******* 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.786) 0:00:06.277 ******* 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_defaults_vars.retry PLAY RECAP ********************************************************************* sut : ok=5 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Thursday 18 August 2022 14:59:53 +0000 (0:00:01.140) 0:00:07.417 ******* =============================================================================== linux-system-roles.vpn : Ensure required packages are installed --------- 4.79s linux-system-roles.vpn : Ensure OpenSSL is installed on the controller --- 1.14s Gathering Facts --------------------------------------------------------- 0.82s linux-system-roles.vpn : Ensure ansible_facts used by role -------------- 0.44s linux-system-roles.vpn : Set platform/version specific variables -------- 0.09s include_role : linux-system-roles.vpn ----------------------------------- 0.08s linux-system-roles.vpn : set platform/version specific variables -------- 0.04s ---^---^---^---^---^--- # 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 ---^---^---^---^---^---