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/tmp13odpi7g 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: tests_ntp_provider6.yml ********************************************** 1 plays in /tmp/tmp3uskg25c/tests/tests_ntp_provider6.yml PLAY [Configure NTP with OS release non-default provider and then change it to the default provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3uskg25c/tests/tests_ntp_provider6.yml:2 Tuesday 05 July 2022 23:36:20 +0000 (0:00:00.013) 0:00:00.013 ********** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Check for availability of both NTP providers] **************************** task path: /tmp/tmp3uskg25c/tests/tests_ntp_provider6.yml:12 Tuesday 05 July 2022 23:36:22 +0000 (0:00:01.178) 0:00:01.192 ********** changed: [/cache/centos-9.qcow2.snap] => (item=chrony) => { "ansible_loop_var": "item", "changed": true, "item": "chrony", "rc": 0, "results": [ "Installed: chrony-4.2-1.el9.x86_64" ] } failed: [/cache/centos-9.qcow2.snap] (item=ntp) => { "ansible_loop_var": "item", "changed": false, "failures": [ "No package ntp available." ], "item": "ntp", "rc": 1, "results": [] } MSG: Failed to install some of the specified packages ...ignoring TASK [Set the availability of both NTP providers] ****************************** task path: /tmp/tmp3uskg25c/tests/tests_ntp_provider6.yml:23 Tuesday 05 July 2022 23:36:24 +0000 (0:00:02.895) 0:00:04.087 ********** skipping: [/cache/centos-9.qcow2.snap] => (item={'msg': '', 'changed': True, 'results': ['Installed: chrony-4.2-1.el9.x86_64'], 'rc': 0, 'invocation': {'module_args': {'name': ['chrony'], 'state': 'present', 'allow_downgrade': False, 'autoremove': False, 'bugfix': False, 'cacheonly': False, 'disable_gpg_check': False, 'disable_plugin': [], 'disablerepo': [], 'download_only': False, 'enable_plugin': [], 'enablerepo': [], 'exclude': [], 'installroot': '/', 'install_repoquery': True, 'install_weak_deps': True, 'security': False, 'skip_broken': False, 'update_cache': False, 'update_only': False, 'validate_certs': True, 'lock_timeout': 30, 'allowerasing': False, 'nobest': False, 'conf_file': None, 'disable_excludes': None, 'download_dir': None, 'list': None, 'releasever': None}}, 'failed': False, 'item': 'chrony', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": true, "failed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "chrony" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "validate_certs": true } }, "item": "chrony", "msg": "", "rc": 0, "results": [ "Installed: chrony-4.2-1.el9.x86_64" ] }, "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item={'failures': ['No package ntp available.'], 'results': [], 'rc': 1, 'failed': True, 'msg': 'Failed to install some of the specified packages', 'invocation': {'module_args': {'name': ['ntp'], 'state': 'present', 'allow_downgrade': False, 'autoremove': False, 'bugfix': False, 'cacheonly': False, 'disable_gpg_check': False, 'disable_plugin': [], 'disablerepo': [], 'download_only': False, 'enable_plugin': [], 'enablerepo': [], 'exclude': [], 'installroot': '/', 'install_repoquery': True, 'install_weak_deps': True, 'security': False, 'skip_broken': False, 'update_cache': False, 'update_only': False, 'validate_certs': True, 'lock_timeout': 30, 'allowerasing': False, 'nobest': False, 'conf_file': None, 'disable_excludes': None, 'download_dir': None, 'list': None, 'releasever': None}}, 'changed': False, 'item': 'ntp', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "both_avail": false }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": true, "failures": [ "No package ntp available." ], "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "ntp" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "validate_certs": true } }, "item": "ntp", "msg": "Failed to install some of the specified packages", "rc": 1, "results": [] } } TASK [meta] ******************************************************************** task path: /tmp/tmp3uskg25c/tests/tests_ntp_provider6.yml:30 Tuesday 05 July 2022 23:36:24 +0000 (0:00:00.039) 0:00:04.127 ********** META: ending play PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=1 Tuesday 05 July 2022 23:36:25 +0000 (0:00:00.010) 0:00:04.138 ********** =============================================================================== Check for availability of both NTP providers ---------------------------- 2.90s /tmp/tmp3uskg25c/tests/tests_ntp_provider6.yml:12 ----------------------------- Gathering Facts --------------------------------------------------------- 1.18s /tmp/tmp3uskg25c/tests/tests_ntp_provider6.yml:2 ------------------------------ Set the availability of both NTP providers ------------------------------ 0.04s /tmp/tmp3uskg25c/tests/tests_ntp_provider6.yml:23 ----------------------------- meta -------------------------------------------------------------------- 0.01s /tmp/tmp3uskg25c/tests/tests_ntp_provider6.yml:30 ----------------------------- 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/tmp13odpi7g 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: tests_ntp_provider6.yml ********************************************** 1 plays in /tmp/tmpm3ftg0jz/tests/timesync/tests_ntp_provider6.yml PLAY [Configure NTP with OS release non-default provider and then change it to the default provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpm3ftg0jz/tests/timesync/tests_ntp_provider6.yml:2 Tuesday 05 July 2022 23:40:44 +0000 (0:00:00.013) 0:00:00.013 ********** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Check for availability of both NTP providers] **************************** task path: /tmp/tmpm3ftg0jz/tests/timesync/tests_ntp_provider6.yml:12 Tuesday 05 July 2022 23:40:46 +0000 (0:00:01.157) 0:00:01.170 ********** changed: [/cache/centos-9.qcow2.snap] => (item=chrony) => { "ansible_loop_var": "item", "changed": true, "item": "chrony", "rc": 0, "results": [ "Installed: chrony-4.2-1.el9.x86_64" ] } failed: [/cache/centos-9.qcow2.snap] (item=ntp) => { "ansible_loop_var": "item", "changed": false, "failures": [ "No package ntp available." ], "item": "ntp", "rc": 1, "results": [] } MSG: Failed to install some of the specified packages ...ignoring TASK [Set the availability of both NTP providers] ****************************** task path: /tmp/tmpm3ftg0jz/tests/timesync/tests_ntp_provider6.yml:23 Tuesday 05 July 2022 23:40:48 +0000 (0:00:02.887) 0:00:04.057 ********** skipping: [/cache/centos-9.qcow2.snap] => (item={'msg': '', 'changed': True, 'results': ['Installed: chrony-4.2-1.el9.x86_64'], 'rc': 0, 'invocation': {'module_args': {'name': ['chrony'], 'state': 'present', 'allow_downgrade': False, 'autoremove': False, 'bugfix': False, 'cacheonly': False, 'disable_gpg_check': False, 'disable_plugin': [], 'disablerepo': [], 'download_only': False, 'enable_plugin': [], 'enablerepo': [], 'exclude': [], 'installroot': '/', 'install_repoquery': True, 'install_weak_deps': True, 'security': False, 'skip_broken': False, 'update_cache': False, 'update_only': False, 'validate_certs': True, 'lock_timeout': 30, 'allowerasing': False, 'nobest': False, 'conf_file': None, 'disable_excludes': None, 'download_dir': None, 'list': None, 'releasever': None}}, 'failed': False, 'item': 'chrony', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": true, "failed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "chrony" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "validate_certs": true } }, "item": "chrony", "msg": "", "rc": 0, "results": [ "Installed: chrony-4.2-1.el9.x86_64" ] }, "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item={'failures': ['No package ntp available.'], 'results': [], 'rc': 1, 'failed': True, 'msg': 'Failed to install some of the specified packages', 'invocation': {'module_args': {'name': ['ntp'], 'state': 'present', 'allow_downgrade': False, 'autoremove': False, 'bugfix': False, 'cacheonly': False, 'disable_gpg_check': False, 'disable_plugin': [], 'disablerepo': [], 'download_only': False, 'enable_plugin': [], 'enablerepo': [], 'exclude': [], 'installroot': '/', 'install_repoquery': True, 'install_weak_deps': True, 'security': False, 'skip_broken': False, 'update_cache': False, 'update_only': False, 'validate_certs': True, 'lock_timeout': 30, 'allowerasing': False, 'nobest': False, 'conf_file': None, 'disable_excludes': None, 'download_dir': None, 'list': None, 'releasever': None}}, 'changed': False, 'item': 'ntp', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "both_avail": false }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": true, "failures": [ "No package ntp available." ], "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "ntp" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "validate_certs": true } }, "item": "ntp", "msg": "Failed to install some of the specified packages", "rc": 1, "results": [] } } TASK [meta] ******************************************************************** task path: /tmp/tmpm3ftg0jz/tests/timesync/tests_ntp_provider6.yml:30 Tuesday 05 July 2022 23:40:48 +0000 (0:00:00.040) 0:00:04.098 ********** META: ending play PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=1 Tuesday 05 July 2022 23:40:48 +0000 (0:00:00.010) 0:00:04.109 ********** =============================================================================== Check for availability of both NTP providers ---------------------------- 2.89s /tmp/tmpm3ftg0jz/tests/timesync/tests_ntp_provider6.yml:12 -------------------- Gathering Facts --------------------------------------------------------- 1.16s /tmp/tmpm3ftg0jz/tests/timesync/tests_ntp_provider6.yml:2 --------------------- Set the availability of both NTP providers ------------------------------ 0.04s /tmp/tmpm3ftg0jz/tests/timesync/tests_ntp_provider6.yml:23 -------------------- meta -------------------------------------------------------------------- 0.01s /tmp/tmpm3ftg0jz/tests/timesync/tests_ntp_provider6.yml:30 --------------------