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/tmpk7x13fer 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: _backup.yml ********************************************************** 1 plays in /tmp/tmpdb8ajfhr/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpdb8ajfhr/tests/_backup.yml:6 Wednesday 03 August 2022 15:21:51 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/rhel-6.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "item": "/etc/resolv.conf", "stat": { "atime": 1659540110.2805786, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659540110.28, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 260120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539613.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744072843962803", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. TASK [Check if system files exist] ********************************************* task path: /tmp/tmpdb8ajfhr/tests/_backup.yml:13 Wednesday 03 August 2022 15:21:52 +0000 (0:00:00.451) 0:00:00.469 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-6.qcow2.snap] => (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': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659539613.0, 'block_size': 4096, 'inode': 260120, 'isgid': False, 'size': 57, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744072843962803', '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': 1659540110.2805786, 'isdir': False, 'ctime': 1659540110.28, 'isblk': False, 'wgrp': False, 'checksum': '2c55cc8324e731161638aa365379c1c147546a87', 'dev': 64513, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': ['extents']}, 'changed': False, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python'}, '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_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "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": 1659540110.2805786, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659540110.28, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 260120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539613.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744072843962803", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpdb8ajfhr/tests/_backup.yml:19 Wednesday 03 August 2022 15:21:52 +0000 (0:00:00.033) 0:00:00.502 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003964", "end": "2022-08-03 11:21:51.750180", "rc": 0, "start": "2022-08-03 11:21:51.746216" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:21:52 +0000 (0:00:00.387) 0:00:00.890 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.45s /tmp/tmpdb8ajfhr/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.39s /tmp/tmpdb8ajfhr/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmpdb8ajfhr/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_wireless_plugin_installation_nm.yml **************************** 2 plays in /tmp/tmpdb8ajfhr/tests/tests_wireless_plugin_installation_nm.yml PLAY [Run playbook 'playbooks/tests_wireless_plugin_installation.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/tests_wireless_plugin_installation_nm.yml:5 Wednesday 03 August 2022 15:21:52 +0000 (0:00:00.012) 0:00:00.902 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tests_wireless_plugin_installation_nm.yml:8 Wednesday 03 August 2022 15:21:53 +0000 (0:00:00.929) 0:00:01.832 ****** included: /tmp/tmpdb8ajfhr/tests/tasks/el_repo_setup.yml for /cache/rhel-6.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:21:53 +0000 (0:00:00.028) 0:00:01.860 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:21:53 +0000 (0:00:00.021) 0:00:01.882 ****** included: /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml for /cache/rhel-6.qcow2.snap TASK [Create EPEL 6] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:21:53 +0000 (0:00:00.029) 0:00:01.912 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:21:53 +0000 (0:00:00.022) 0:00:01.934 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:21:53 +0000 (0:00:00.020) 0:00:01.954 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:21:53 +0000 (0:00:00.019) 0:00:01.974 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpdb8ajfhr/tests/tests_wireless_plugin_installation_nm.yml:9 Wednesday 03 August 2022 15:21:54 +0000 (0:00:00.636) 0:00:02.610 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:3 Wednesday 03 August 2022 15:21:54 +0000 (0:00:00.049) 0:00:02.660 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [remove the NetworkManager-wifi package] ********************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:5 Wednesday 03 August 2022 15:21:54 +0000 (0:00:00.030) 0:00:02.690 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get the rpm package facts] *********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:10 Wednesday 03 August 2022 15:21:54 +0000 (0:00:00.020) 0:00:02.711 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert NetworkManager-wifi removed before wireless configuration] ******** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:14 Wednesday 03 August 2022 15:21:54 +0000 (0:00:00.020) 0:00:02.732 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [wireless configuration] ************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:20 Wednesday 03 August 2022 15:21:54 +0000 (0:00:00.020) 0:00:02.753 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get the rpm package facts] *********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:32 Wednesday 03 August 2022 15:21:54 +0000 (0:00:00.020) 0:00:02.773 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert NetworkManager-wifi installed after wireless configuration] ******* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:36 Wednesday 03 August 2022 15:21:54 +0000 (0:00:00.021) 0:00:02.794 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=8 changed=1 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 Wednesday 03 August 2022 15:21:54 +0000 (0:00:00.029) 0:00:02.824 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmpdb8ajfhr/tests/tests_wireless_plugin_installation_nm.yml:5 ------------ Enable EPEL 6 ----------------------------------------------------------- 0.64s /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:26 ------------------------------- Get stats of system files ----------------------------------------------- 0.45s /tmp/tmpdb8ajfhr/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.39s /tmp/tmpdb8ajfhr/tests/_backup.yml:19 ----------------------------------------- Set network provider to 'nm' -------------------------------------------- 0.05s /tmp/tmpdb8ajfhr/tests/tests_wireless_plugin_installation_nm.yml:9 ------------ Check if system files exist --------------------------------------------- 0.03s /tmp/tmpdb8ajfhr/tests/_backup.yml:13 ----------------------------------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:3 ----- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmpdb8ajfhr/tests/tasks/el_repo_setup.yml:27 ----------------------------- Assert NetworkManager-wifi installed after wireless configuration ------- 0.03s /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:36 ---- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmpdb8ajfhr/tests/tests_wireless_plugin_installation_nm.yml:8 ------------ Create EPEL 6 ----------------------------------------------------------- 0.02s /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:4 -------------------------------- Fix CentOS6 Base repo --------------------------------------------------- 0.02s /tmp/tmpdb8ajfhr/tests/tasks/el_repo_setup.yml:2 ------------------------------ get the rpm package facts ----------------------------------------------- 0.02s /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:32 ---- get the rpm package facts ----------------------------------------------- 0.02s /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:10 ---- remove the NetworkManager-wifi package ---------------------------------- 0.02s /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:5 ----- Assert NetworkManager-wifi removed before wireless configuration -------- 0.02s /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:14 ---- wireless configuration -------------------------------------------------- 0.02s /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:20 ---- Enable EPEL 7 ----------------------------------------------------------- 0.02s /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:11 ------------------------------- Enable EPEL 8 ----------------------------------------------------------- 0.02s /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:17 ------------------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpdb8ajfhr/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpdb8ajfhr/tests/_restore.yml:4 Wednesday 03 August 2022 15:21:54 +0000 (0:00:00.022) 0:00:02.846 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005198", "end": "2022-08-03 11:21:53.983786", "rc": 0, "start": "2022-08-03 11:21:53.978588" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=9 changed=2 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 Wednesday 03 August 2022 15:21:54 +0000 (0:00:00.286) 0:00:03.132 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmpdb8ajfhr/tests/tests_wireless_plugin_installation_nm.yml:5 ------------ Enable EPEL 6 ----------------------------------------------------------- 0.64s /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:26 ------------------------------- Get stats of system files ----------------------------------------------- 0.45s /tmp/tmpdb8ajfhr/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.39s /tmp/tmpdb8ajfhr/tests/_backup.yml:19 ----------------------------------------- Restore system files ---------------------------------------------------- 0.29s /tmp/tmpdb8ajfhr/tests/_restore.yml:4 ----------------------------------------- Set network provider to 'nm' -------------------------------------------- 0.05s /tmp/tmpdb8ajfhr/tests/tests_wireless_plugin_installation_nm.yml:9 ------------ Check if system files exist --------------------------------------------- 0.03s /tmp/tmpdb8ajfhr/tests/_backup.yml:13 ----------------------------------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:3 ----- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmpdb8ajfhr/tests/tasks/el_repo_setup.yml:27 ----------------------------- Assert NetworkManager-wifi installed after wireless configuration ------- 0.03s /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:36 ---- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmpdb8ajfhr/tests/tests_wireless_plugin_installation_nm.yml:8 ------------ Create EPEL 6 ----------------------------------------------------------- 0.02s /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:4 -------------------------------- Fix CentOS6 Base repo --------------------------------------------------- 0.02s /tmp/tmpdb8ajfhr/tests/tasks/el_repo_setup.yml:2 ------------------------------ get the rpm package facts ----------------------------------------------- 0.02s /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:32 ---- get the rpm package facts ----------------------------------------------- 0.02s /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:10 ---- remove the NetworkManager-wifi package ---------------------------------- 0.02s /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:5 ----- Assert NetworkManager-wifi removed before wireless configuration -------- 0.02s /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:14 ---- wireless configuration -------------------------------------------------- 0.02s /tmp/tmpdb8ajfhr/tests/playbooks/tests_wireless_plugin_installation.yml:20 ---- Enable EPEL 7 ----------------------------------------------------------- 0.02s /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:11 ------------------------------- Enable EPEL 8 ----------------------------------------------------------- 0.02s /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:17 ------------------------------- 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/tmpk7x13fer 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: _backup.yml ********************************************************** 1 plays in /tmp/tmptjr_ga81/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmptjr_ga81/tests/network/_backup.yml:6 Wednesday 03 August 2022 15:30:43 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-6.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "item": "/etc/resolv.conf", "stat": { "atime": 1659540641.7359366, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659540641.736, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 260120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659540132.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744072091885842", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. TASK [Check if system files exist] ********************************************* task path: /tmp/tmptjr_ga81/tests/network/_backup.yml:13 Wednesday 03 August 2022 15:30:43 +0000 (0:00:00.451) 0:00:00.468 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-6.qcow2.snap] => (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': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659540132.0, 'block_size': 4096, 'inode': 260120, 'isgid': False, 'size': 57, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744072091885842', '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': 1659540641.7359366, 'isdir': False, 'ctime': 1659540641.736, 'isblk': False, 'wgrp': False, 'checksum': '2c55cc8324e731161638aa365379c1c147546a87', 'dev': 64513, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': ['extents']}, 'changed': False, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python'}, '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_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "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": 1659540641.7359366, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659540641.736, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 260120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659540132.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744072091885842", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmptjr_ga81/tests/network/_backup.yml:19 Wednesday 03 August 2022 15:30:43 +0000 (0:00:00.032) 0:00:00.501 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003964", "end": "2022-08-03 11:30:43.152692", "rc": 0, "start": "2022-08-03 11:30:43.148728" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:30:43 +0000 (0:00:00.366) 0:00:00.867 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.45s /tmp/tmptjr_ga81/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.37s /tmp/tmptjr_ga81/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmptjr_ga81/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_wireless_plugin_installation_nm.yml **************************** 2 plays in /tmp/tmptjr_ga81/tests/network/tests_wireless_plugin_installation_nm.yml PLAY [Run playbook 'playbooks/tests_wireless_plugin_installation.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/tests_wireless_plugin_installation_nm.yml:5 Wednesday 03 August 2022 15:30:43 +0000 (0:00:00.013) 0:00:00.881 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tests_wireless_plugin_installation_nm.yml:8 Wednesday 03 August 2022 15:30:44 +0000 (0:00:00.950) 0:00:01.831 ****** included: /tmp/tmptjr_ga81/tests/network/tasks/el_repo_setup.yml for /cache/rhel-6.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:30:44 +0000 (0:00:00.028) 0:00:01.860 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:30:44 +0000 (0:00:00.022) 0:00:01.882 ****** included: /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml for /cache/rhel-6.qcow2.snap TASK [Create EPEL 6] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:30:44 +0000 (0:00:00.031) 0:00:01.914 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:30:45 +0000 (0:00:00.023) 0:00:01.937 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:30:45 +0000 (0:00:00.023) 0:00:01.961 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:30:45 +0000 (0:00:00.022) 0:00:01.984 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmptjr_ga81/tests/network/tests_wireless_plugin_installation_nm.yml:9 Wednesday 03 August 2022 15:30:45 +0000 (0:00:00.639) 0:00:02.623 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:3 Wednesday 03 August 2022 15:30:45 +0000 (0:00:00.051) 0:00:02.675 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [remove the NetworkManager-wifi package] ********************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:5 Wednesday 03 August 2022 15:30:45 +0000 (0:00:00.030) 0:00:02.706 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get the rpm package facts] *********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:10 Wednesday 03 August 2022 15:30:45 +0000 (0:00:00.019) 0:00:02.725 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert NetworkManager-wifi removed before wireless configuration] ******** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:14 Wednesday 03 August 2022 15:30:45 +0000 (0:00:00.019) 0:00:02.745 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [wireless configuration] ************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:20 Wednesday 03 August 2022 15:30:45 +0000 (0:00:00.019) 0:00:02.764 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get the rpm package facts] *********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:32 Wednesday 03 August 2022 15:30:45 +0000 (0:00:00.020) 0:00:02.784 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert NetworkManager-wifi installed after wireless configuration] ******* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:36 Wednesday 03 August 2022 15:30:45 +0000 (0:00:00.020) 0:00:02.804 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=8 changed=1 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 Wednesday 03 August 2022 15:30:45 +0000 (0:00:00.030) 0:00:02.835 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmptjr_ga81/tests/network/tests_wireless_plugin_installation_nm.yml:5 ---- Enable EPEL 6 ----------------------------------------------------------- 0.64s /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:26 ----------------------- Get stats of system files ----------------------------------------------- 0.45s /tmp/tmptjr_ga81/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.37s /tmp/tmptjr_ga81/tests/network/_backup.yml:19 --------------------------------- Set network provider to 'nm' -------------------------------------------- 0.05s /tmp/tmptjr_ga81/tests/network/tests_wireless_plugin_installation_nm.yml:9 ---- Check if system files exist --------------------------------------------- 0.03s /tmp/tmptjr_ga81/tests/network/_backup.yml:13 --------------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmptjr_ga81/tests/network/tasks/el_repo_setup.yml:27 --------------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:3 Assert NetworkManager-wifi installed after wireless configuration ------- 0.03s /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:36 include_tasks ----------------------------------------------------------- 0.03s /tmp/tmptjr_ga81/tests/network/tests_wireless_plugin_installation_nm.yml:8 ---- Enable EPEL 7 ----------------------------------------------------------- 0.02s /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:11 ----------------------- Create EPEL 6 ----------------------------------------------------------- 0.02s /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:4 ------------------------ Enable EPEL 8 ----------------------------------------------------------- 0.02s /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:17 ----------------------- Fix CentOS6 Base repo --------------------------------------------------- 0.02s /tmp/tmptjr_ga81/tests/network/tasks/el_repo_setup.yml:2 ---------------------- wireless configuration -------------------------------------------------- 0.02s /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:20 get the rpm package facts ----------------------------------------------- 0.02s /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:32 Assert NetworkManager-wifi removed before wireless configuration -------- 0.02s /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:14 remove the NetworkManager-wifi package ---------------------------------- 0.02s /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:5 get the rpm package facts ----------------------------------------------- 0.02s /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:10 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmptjr_ga81/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmptjr_ga81/tests/network/_restore.yml:4 Wednesday 03 August 2022 15:30:45 +0000 (0:00:00.022) 0:00:02.857 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005404", "end": "2022-08-03 11:30:45.423200", "rc": 0, "start": "2022-08-03 11:30:45.417796" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=9 changed=2 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 Wednesday 03 August 2022 15:30:46 +0000 (0:00:00.287) 0:00:03.145 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmptjr_ga81/tests/network/tests_wireless_plugin_installation_nm.yml:5 ---- Enable EPEL 6 ----------------------------------------------------------- 0.64s /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:26 ----------------------- Get stats of system files ----------------------------------------------- 0.45s /tmp/tmptjr_ga81/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.37s /tmp/tmptjr_ga81/tests/network/_backup.yml:19 --------------------------------- Restore system files ---------------------------------------------------- 0.29s /tmp/tmptjr_ga81/tests/network/_restore.yml:4 --------------------------------- Set network provider to 'nm' -------------------------------------------- 0.05s /tmp/tmptjr_ga81/tests/network/tests_wireless_plugin_installation_nm.yml:9 ---- Check if system files exist --------------------------------------------- 0.03s /tmp/tmptjr_ga81/tests/network/_backup.yml:13 --------------------------------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmptjr_ga81/tests/network/tasks/el_repo_setup.yml:27 --------------------- Gathering Facts --------------------------------------------------------- 0.03s /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:3 Assert NetworkManager-wifi installed after wireless configuration ------- 0.03s /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:36 include_tasks ----------------------------------------------------------- 0.03s /tmp/tmptjr_ga81/tests/network/tests_wireless_plugin_installation_nm.yml:8 ---- Enable EPEL 7 ----------------------------------------------------------- 0.02s /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:11 ----------------------- Create EPEL 6 ----------------------------------------------------------- 0.02s /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:4 ------------------------ Enable EPEL 8 ----------------------------------------------------------- 0.02s /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:17 ----------------------- Fix CentOS6 Base repo --------------------------------------------------- 0.02s /tmp/tmptjr_ga81/tests/network/tasks/el_repo_setup.yml:2 ---------------------- wireless configuration -------------------------------------------------- 0.02s /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:20 get the rpm package facts ----------------------------------------------- 0.02s /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:32 Assert NetworkManager-wifi removed before wireless configuration -------- 0.02s /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:14 remove the NetworkManager-wifi package ---------------------------------- 0.02s /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:5 get the rpm package facts ----------------------------------------------- 0.02s /tmp/tmptjr_ga81/tests/network/playbooks/tests_wireless_plugin_installation.yml:10