Thanks very much @Alessandro. Your suggestion helped me progress a bit. For the benefit of
any other who may have the same issue, this is what I did:
The ansible upgrade takes place during the engine update within the script -
/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/engine_setup/tasks/engine_setup.yml,
in the task "Update all packages". For now, I have simply excluded ansible-core
to be upgraded; the task would look like the following:
- name: Update all packages
ansible.builtin.yum:
name: '*'
state: latest
conf_file: /tmp/yum.conf
exclude:
- ansible-core
when: not ovirt_engine_setup_offline | bool
tags:
- "skip_ansible_lint" # ANSIBLE0010
I welcome any suggestion to improve this.
However, the setup process failed further down the line (as I have included below in the
main thread).