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 [WARNING]: * Failed to parse /usr/share/ansible/inventory/standard-inventory- qcow2 with script plugin: Inventory script (/usr/share/ansible/inventory/standard-inventory-qcow2) had an execution error: [ERROR] standard-inventory-qcow2: qemu failed to launch VM for qcow2 image: /cache/centos-9.qcow2.snap code 1 pid 7429 [WARNING]: * Failed to parse /usr/share/ansible/inventory/standard-inventory- qcow2 with yaml plugin: We were unable to read either as JSON nor YAML, these are the errors we got from each: JSON: Expecting value: line 1 column 1 (char 0) Syntax Error while loading YAML. mapping values are not allowed in this context The error appears to be in '/usr/share/ansible/inventory/standard- inventory-qcow2': line 30, column 4, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: try: ^ here [WARNING]: * Failed to parse /usr/share/ansible/inventory/standard-inventory- qcow2 with ini plugin: /usr/share/ansible/inventory/standard-inventory-qcow2:9: Expected key=value host variable assignment, got: os ERROR! Completely failed to parse inventory source /usr/share/ansible/inventory/standard-inventory-qcow2 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_provider5.yml ********************************************** 1 plays in /tmp/tmpm3ftg0jz/tests/timesync/tests_ntp_provider5.yml PLAY [Configure NTP with ntp as specified provider] **************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpm3ftg0jz/tests/timesync/tests_ntp_provider5.yml:1 Tuesday 05 July 2022 23:40:27 +0000 (0:00:00.017) 0:00:00.017 ********** ok: [/cache/centos-9.qcow2.snap] TASK [Install ntp] ************************************************************* task path: /tmp/tmpm3ftg0jz/tests/timesync/tests_ntp_provider5.yml:12 Tuesday 05 July 2022 23:40:28 +0000 (0:00:01.194) 0:00:01.212 ********** fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": false, "failures": [ "No package ntp available." ], "rc": 1, "results": [] } MSG: Failed to install some of the specified packages ...ignoring TASK [meta] ******************************************************************** task path: /tmp/tmpm3ftg0jz/tests/timesync/tests_ntp_provider5.yml:17 Tuesday 05 July 2022 23:40:30 +0000 (0:00:01.297) 0:00:02.509 ********** META: ending play PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=1 Tuesday 05 July 2022 23:40:30 +0000 (0:00:00.011) 0:00:02.521 ********** =============================================================================== Install ntp ------------------------------------------------------------- 1.30s /tmp/tmpm3ftg0jz/tests/timesync/tests_ntp_provider5.yml:12 -------------------- Gathering Facts --------------------------------------------------------- 1.19s /tmp/tmpm3ftg0jz/tests/timesync/tests_ntp_provider5.yml:1 --------------------- meta -------------------------------------------------------------------- 0.01s /tmp/tmpm3ftg0jz/tests/timesync/tests_ntp_provider5.yml:17 --------------------