# 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:00 +0000 (0:00:00.032) 0:00:00.032 ******* ok: [sut] TASK [include_role : linux-system-roles.vpn] *********************************** Thursday 18 August 2022 14:59:01 +0000 (0:00:00.824) 0:00:00.857 ******* TASK [linux-system-roles.vpn : set platform/version specific variables] ******** Thursday 18 August 2022 14:59:01 +0000 (0:00:00.083) 0:00:00.940 ******* included: /WORKDIR/dist-git-vpn-various_improvements-pa50xt/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:01 +0000 (0:00:00.040) 0:00:00.981 ******* ok: [sut] TASK [linux-system-roles.vpn : Set platform/version specific variables] ******** Thursday 18 August 2022 14:59:02 +0000 (0:00:00.465) 0:00:01.446 ******* 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" } skipping: [sut] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.vpn : Ensure required packages are installed] ********* Thursday 18 August 2022 14:59:02 +0000 (0:00:00.084) 0:00:01.530 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: ldns-1.7.1-11.el9.x86_64", "Installed: nss-softokn-3.79.0-11.el9_0.x86_64", "Installed: unbound-libs-1.16.2-2.el9.x86_64", "Installed: nss-softokn-freebl-3.79.0-11.el9_0.x86_64", "Installed: protobuf-c-1.3.3-12.el9.x86_64", "Installed: nss-sysinit-3.79.0-11.el9_0.x86_64", "Installed: nss-tools-3.79.0-11.el9_0.x86_64", "Installed: nss-util-3.79.0-11.el9_0.x86_64", "Installed: nspr-4.34.0-11.el9_0.x86_64", "Installed: nss-3.79.0-11.el9_0.x86_64", "Installed: libreswan-4.6-3.el9.x86_64" ] } TASK [linux-system-roles.vpn : Ensure OpenSSL is installed on the controller] *** Thursday 18 August 2022 14:59:07 +0000 (0:00:04.957) 0:00:06.488 ******* 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=4 changed=1 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0 Thursday 18 August 2022 14:59:08 +0000 (0:00:01.114) 0:00:07.603 ******* =============================================================================== linux-system-roles.vpn : Ensure required packages are installed --------- 4.96s linux-system-roles.vpn : Ensure OpenSSL is installed on the controller --- 1.11s Gathering Facts --------------------------------------------------------- 0.82s linux-system-roles.vpn : Ensure ansible_facts used by role -------------- 0.47s linux-system-roles.vpn : Set platform/version specific variables -------- 0.08s 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 ---^---^---^---^---^---