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/tmp0fvd1p7_ 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: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 03 August 2022 16:49:48 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => { "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/rhel-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:49:49 +0000 (0:00:01.335) 0:00:01.353 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.34s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpq0_9gvwx/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpq0_9gvwx/tests/_backup.yml:6 Wednesday 03 August 2022 16:49:49 +0000 (0:00:00.014) 0:00:01.367 ****** ok: [/cache/rhel-7.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659545388.1528246, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659545388.1528246, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659544375.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082604", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpq0_9gvwx/tests/_backup.yml:13 Wednesday 03 August 2022 16:49:50 +0000 (0:00:00.405) 0:00:01.773 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-7.qcow2] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': '', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659544375.0, 'block_size': 4096, 'inode': 77, 'isgid': False, 'size': 90, 'executable': False, 'isuid': False, 'readable': True, 'version': '624082604', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'text/plain', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/resolv.conf', 'xusr': False, 'atime': 1659545388.1528246, 'isdir': False, 'ctime': 1659545388.1528246, 'isblk': False, 'wgrp': False, 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659545388.1528246, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659545388.1528246, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659544375.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082604", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpq0_9gvwx/tests/_backup.yml:19 Wednesday 03 August 2022 16:49:50 +0000 (0:00:00.033) 0:00:01.806 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004452", "end": "2022-08-03 12:49:50.910522", "rc": 0, "start": "2022-08-03 12:49:50.906070" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:49:50 +0000 (0:00:00.375) 0:00:02.182 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.34s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Get stats of system files ----------------------------------------------- 0.41s /tmp/tmpq0_9gvwx/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.38s /tmp/tmpq0_9gvwx/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmpq0_9gvwx/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_provider_nm.yml ************************************************ 2 plays in /tmp/tmpq0_9gvwx/tests/tests_provider_nm.yml PLAY [Run playbook 'playbooks/tests_provider.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/tests_provider_nm.yml:5 Wednesday 03 August 2022 16:49:50 +0000 (0:00:00.012) 0:00:02.194 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tests_provider_nm.yml:8 Wednesday 03 August 2022 16:49:51 +0000 (0:00:00.906) 0:00:03.101 ****** included: /tmp/tmpq0_9gvwx/tests/tasks/el_repo_setup.yml for /cache/rhel-7.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:49:51 +0000 (0:00:00.025) 0:00:03.127 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:49:51 +0000 (0:00:00.019) 0:00:03.146 ****** included: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml for /cache/rhel-7.qcow2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:49:51 +0000 (0:00:00.026) 0:00:03.173 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:49:51 +0000 (0:00:00.280) 0:00:03.453 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.182164", "end": "2022-08-03 12:49:52.651466", "rc": 0, "start": "2022-08-03 12:49:52.469302" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:49:52 +0000 (0:00:00.467) 0:00:03.921 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:49:52 +0000 (0:00:00.020) 0:00:03.942 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpq0_9gvwx/tests/tests_provider_nm.yml:9 Wednesday 03 August 2022 16:49:52 +0000 (0:00:00.018) 0:00:03.960 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } TASK [Install NetworkManager] ************************************************** task path: /tmp/tmpq0_9gvwx/tests/tests_provider_nm.yml:16 Wednesday 03 August 2022 16:49:52 +0000 (0:00:00.025) 0:00:03.986 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "1:NetworkManager-1.18.8-2.el7_9.x86_64 providing NetworkManager is already installed" ] } TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmpq0_9gvwx/tests/tests_provider_nm.yml:20 Wednesday 03 August 2022 16:49:52 +0000 (0:00:00.623) 0:00:04.609 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "rpm", "-q", "--qf", "%{version}", "NetworkManager" ], "delta": "0:00:00.036556", "end": "2022-08-03 12:49:53.662550", "rc": 0, "start": "2022-08-03 12:49:53.625994" } STDOUT: 1.18.8 META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_provider.yml:3 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.341) 0:00:04.951 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_provider.yml:10 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.031) 0:00:04.982 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_provider.yml:18 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.023) 0:00:05.005 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=12 changed=3 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.030) 0:00:05.036 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.34s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmpq0_9gvwx/tests/tests_provider_nm.yml:5 -------------------------------- Install NetworkManager -------------------------------------------------- 0.62s /tmp/tmpq0_9gvwx/tests/tests_provider_nm.yml:16 ------------------------------- Enable EPEL 7 ----------------------------------------------------------- 0.47s /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:11 ------------------------------- Get stats of system files ----------------------------------------------- 0.41s /tmp/tmpq0_9gvwx/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.38s /tmp/tmpq0_9gvwx/tests/_backup.yml:19 ----------------------------------------- Get NetworkManager version ---------------------------------------------- 0.34s /tmp/tmpq0_9gvwx/tests/tests_provider_nm.yml:20 ------------------------------- Create EPEL 7 ----------------------------------------------------------- 0.28s /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:4 -------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmpq0_9gvwx/tests/_backup.yml:13 ----------------------------------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmpq0_9gvwx/tests/playbooks/tests_provider.yml:3 ------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmpq0_9gvwx/tests/playbooks/tests_provider.yml:18 ------------------------ include_tasks ----------------------------------------------------------- 0.03s /tmp/tmpq0_9gvwx/tests/tasks/el_repo_setup.yml:27 ----------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmpq0_9gvwx/tests/tests_provider_nm.yml:8 -------------------------------- Set network provider to 'nm' -------------------------------------------- 0.03s /tmp/tmpq0_9gvwx/tests/tests_provider_nm.yml:9 -------------------------------- Show playbook name ------------------------------------------------------ 0.02s /tmp/tmpq0_9gvwx/tests/playbooks/tests_provider.yml:10 ------------------------ Enable EPEL 8 ----------------------------------------------------------- 0.02s /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:17 ------------------------------- Fix CentOS6 Base repo --------------------------------------------------- 0.02s /tmp/tmpq0_9gvwx/tests/tasks/el_repo_setup.yml:2 ------------------------------ Enable EPEL 6 ----------------------------------------------------------- 0.02s /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:26 ------------------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpq0_9gvwx/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpq0_9gvwx/tests/_restore.yml:4 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.017) 0:00:05.054 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006566", "end": "2022-08-03 12:49:54.081771", "rc": 0, "start": "2022-08-03 12:49:54.075205" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=13 changed=4 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.310) 0:00:05.364 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.34s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmpq0_9gvwx/tests/tests_provider_nm.yml:5 -------------------------------- Install NetworkManager -------------------------------------------------- 0.62s /tmp/tmpq0_9gvwx/tests/tests_provider_nm.yml:16 ------------------------------- Enable EPEL 7 ----------------------------------------------------------- 0.47s /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:11 ------------------------------- Get stats of system files ----------------------------------------------- 0.41s /tmp/tmpq0_9gvwx/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.38s /tmp/tmpq0_9gvwx/tests/_backup.yml:19 ----------------------------------------- Get NetworkManager version ---------------------------------------------- 0.34s /tmp/tmpq0_9gvwx/tests/tests_provider_nm.yml:20 ------------------------------- Restore system files ---------------------------------------------------- 0.31s /tmp/tmpq0_9gvwx/tests/_restore.yml:4 ----------------------------------------- Create EPEL 7 ----------------------------------------------------------- 0.28s /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:4 -------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmpq0_9gvwx/tests/_backup.yml:13 ----------------------------------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmpq0_9gvwx/tests/playbooks/tests_provider.yml:3 ------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmpq0_9gvwx/tests/playbooks/tests_provider.yml:18 ------------------------ include_tasks ----------------------------------------------------------- 0.03s /tmp/tmpq0_9gvwx/tests/tasks/el_repo_setup.yml:27 ----------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmpq0_9gvwx/tests/tests_provider_nm.yml:8 -------------------------------- Set network provider to 'nm' -------------------------------------------- 0.03s /tmp/tmpq0_9gvwx/tests/tests_provider_nm.yml:9 -------------------------------- Show playbook name ------------------------------------------------------ 0.02s /tmp/tmpq0_9gvwx/tests/playbooks/tests_provider.yml:10 ------------------------ Enable EPEL 8 ----------------------------------------------------------- 0.02s /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:17 ------------------------------- Fix CentOS6 Base repo --------------------------------------------------- 0.02s /tmp/tmpq0_9gvwx/tests/tasks/el_repo_setup.yml:2 ------------------------------ Enable EPEL 6 ----------------------------------------------------------- 0.02s /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:26 ------------------------------- 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/tmp0fvd1p7_ 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: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 03 August 2022 17:14:57 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => { "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/rhel-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:14:59 +0000 (0:00:01.283) 0:00:01.301 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.28s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmp0448nu9w/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp0448nu9w/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:14:59 +0000 (0:00:00.014) 0:00:01.315 ****** ok: [/cache/rhel-7.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659546897.2333019, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659546897.2333019, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545878.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082605", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp0448nu9w/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:14:59 +0000 (0:00:00.404) 0:00:01.720 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-7.qcow2] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': '', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659545878.0, 'block_size': 4096, 'inode': 77, 'isgid': False, 'size': 90, 'executable': False, 'isuid': False, 'readable': True, 'version': '624082605', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'text/plain', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/resolv.conf', 'xusr': False, 'atime': 1659546897.2333019, 'isdir': False, 'ctime': 1659546897.2333019, 'isblk': False, 'wgrp': False, 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659546897.2333019, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659546897.2333019, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545878.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082605", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp0448nu9w/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:14:59 +0000 (0:00:00.034) 0:00:01.755 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.005273", "end": "2022-08-03 13:14:59.957137", "rc": 0, "start": "2022-08-03 13:14:59.951864" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:15:00 +0000 (0:00:00.391) 0:00:02.146 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.28s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Get stats of system files ----------------------------------------------- 0.40s /tmp/tmp0448nu9w/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.39s /tmp/tmp0448nu9w/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmp0448nu9w/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_provider_nm.yml ************************************************ 2 plays in /tmp/tmp0448nu9w/tests/network/tests_provider_nm.yml PLAY [Run playbook 'playbooks/tests_provider.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0448nu9w/tests/network/tests_provider_nm.yml:5 Wednesday 03 August 2022 17:15:00 +0000 (0:00:00.012) 0:00:02.158 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tests_provider_nm.yml:8 Wednesday 03 August 2022 17:15:01 +0000 (0:00:00.958) 0:00:03.116 ****** included: /tmp/tmp0448nu9w/tests/network/tasks/el_repo_setup.yml for /cache/rhel-7.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:15:01 +0000 (0:00:00.025) 0:00:03.142 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:15:01 +0000 (0:00:00.019) 0:00:03.162 ****** included: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml for /cache/rhel-7.qcow2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:15:01 +0000 (0:00:00.026) 0:00:03.189 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:15:01 +0000 (0:00:00.277) 0:00:03.466 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.181509", "end": "2022-08-03 13:15:01.758268", "rc": 0, "start": "2022-08-03 13:15:01.576759" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:15:01 +0000 (0:00:00.473) 0:00:03.940 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:15:01 +0000 (0:00:00.021) 0:00:03.961 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp0448nu9w/tests/network/tests_provider_nm.yml:9 Wednesday 03 August 2022 17:15:01 +0000 (0:00:00.018) 0:00:03.979 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } TASK [Install NetworkManager] ************************************************** task path: /tmp/tmp0448nu9w/tests/network/tests_provider_nm.yml:16 Wednesday 03 August 2022 17:15:01 +0000 (0:00:00.025) 0:00:04.004 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "1:NetworkManager-1.18.8-2.el7_9.x86_64 providing NetworkManager is already installed" ] } TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmp0448nu9w/tests/network/tests_provider_nm.yml:20 Wednesday 03 August 2022 17:15:02 +0000 (0:00:00.645) 0:00:04.650 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "rpm", "-q", "--qf", "%{version}", "NetworkManager" ], "delta": "0:00:00.036663", "end": "2022-08-03 13:15:02.794960", "rc": 0, "start": "2022-08-03 13:15:02.758297" } STDOUT: 1.18.8 META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_provider.yml:3 Wednesday 03 August 2022 17:15:02 +0000 (0:00:00.364) 0:00:05.014 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_provider.yml:10 Wednesday 03 August 2022 17:15:02 +0000 (0:00:00.053) 0:00:05.068 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_provider.yml:18 Wednesday 03 August 2022 17:15:03 +0000 (0:00:00.034) 0:00:05.102 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=12 changed=3 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Wednesday 03 August 2022 17:15:03 +0000 (0:00:00.045) 0:00:05.148 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.28s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmp0448nu9w/tests/network/tests_provider_nm.yml:5 ------------------------ Install NetworkManager -------------------------------------------------- 0.65s /tmp/tmp0448nu9w/tests/network/tests_provider_nm.yml:16 ----------------------- Enable EPEL 7 ----------------------------------------------------------- 0.47s /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:11 ----------------------- Get stats of system files ----------------------------------------------- 0.40s /tmp/tmp0448nu9w/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.39s /tmp/tmp0448nu9w/tests/network/_backup.yml:19 --------------------------------- Get NetworkManager version ---------------------------------------------- 0.36s /tmp/tmp0448nu9w/tests/network/tests_provider_nm.yml:20 ----------------------- Create EPEL 7 ----------------------------------------------------------- 0.28s /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:4 ------------------------ Gathering Facts --------------------------------------------------------- 0.05s /tmp/tmp0448nu9w/tests/network/playbooks/tests_provider.yml:3 ----------------- include_tasks ----------------------------------------------------------- 0.05s /tmp/tmp0448nu9w/tests/network/playbooks/tests_provider.yml:18 ---------------- Show playbook name ------------------------------------------------------ 0.03s /tmp/tmp0448nu9w/tests/network/playbooks/tests_provider.yml:10 ---------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmp0448nu9w/tests/network/_backup.yml:13 --------------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmp0448nu9w/tests/network/tasks/el_repo_setup.yml:27 --------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmp0448nu9w/tests/network/tests_provider_nm.yml:8 ------------------------ Set network provider to 'nm' -------------------------------------------- 0.03s /tmp/tmp0448nu9w/tests/network/tests_provider_nm.yml:9 ------------------------ Enable EPEL 8 ----------------------------------------------------------- 0.02s /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:17 ----------------------- Fix CentOS6 Base repo --------------------------------------------------- 0.02s /tmp/tmp0448nu9w/tests/network/tasks/el_repo_setup.yml:2 ---------------------- Enable EPEL 6 ----------------------------------------------------------- 0.02s /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:26 ----------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp0448nu9w/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp0448nu9w/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:15:03 +0000 (0:00:00.022) 0:00:05.171 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006418", "end": "2022-08-03 13:15:03.287561", "rc": 0, "start": "2022-08-03 13:15:03.281143" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=13 changed=4 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Wednesday 03 August 2022 17:15:03 +0000 (0:00:00.307) 0:00:05.478 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.28s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmp0448nu9w/tests/network/tests_provider_nm.yml:5 ------------------------ Install NetworkManager -------------------------------------------------- 0.65s /tmp/tmp0448nu9w/tests/network/tests_provider_nm.yml:16 ----------------------- Enable EPEL 7 ----------------------------------------------------------- 0.47s /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:11 ----------------------- Get stats of system files ----------------------------------------------- 0.40s /tmp/tmp0448nu9w/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.39s /tmp/tmp0448nu9w/tests/network/_backup.yml:19 --------------------------------- Get NetworkManager version ---------------------------------------------- 0.36s /tmp/tmp0448nu9w/tests/network/tests_provider_nm.yml:20 ----------------------- Restore system files ---------------------------------------------------- 0.31s /tmp/tmp0448nu9w/tests/network/_restore.yml:4 --------------------------------- Create EPEL 7 ----------------------------------------------------------- 0.28s /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:4 ------------------------ Gathering Facts --------------------------------------------------------- 0.05s /tmp/tmp0448nu9w/tests/network/playbooks/tests_provider.yml:3 ----------------- include_tasks ----------------------------------------------------------- 0.05s /tmp/tmp0448nu9w/tests/network/playbooks/tests_provider.yml:18 ---------------- Show playbook name ------------------------------------------------------ 0.03s /tmp/tmp0448nu9w/tests/network/playbooks/tests_provider.yml:10 ---------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmp0448nu9w/tests/network/_backup.yml:13 --------------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmp0448nu9w/tests/network/tasks/el_repo_setup.yml:27 --------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmp0448nu9w/tests/network/tests_provider_nm.yml:8 ------------------------ Set network provider to 'nm' -------------------------------------------- 0.03s /tmp/tmp0448nu9w/tests/network/tests_provider_nm.yml:9 ------------------------ Enable EPEL 8 ----------------------------------------------------------- 0.02s /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:17 ----------------------- Fix CentOS6 Base repo --------------------------------------------------- 0.02s /tmp/tmp0448nu9w/tests/network/tasks/el_repo_setup.yml:2 ---------------------- Enable EPEL 6 ----------------------------------------------------------- 0.02s /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:26 -----------------------