diff --git a/playbooks/roles/install-ansible/tasks/main.yaml b/playbooks/roles/install-ansible/tasks/main.yaml index dabfba0ad2..76a9223dec 100644 --- a/playbooks/roles/install-ansible/tasks/main.yaml +++ b/playbooks/roles/install-ansible/tasks/main.yaml @@ -13,7 +13,9 @@ - name: Add ARA to defaults if enabled when: install_ansible_ara_enable set_fact: - _install_ansible_requirements: '{{ _install_ansible_requirements + ["ara[server]"] }}' + # Ruamel.yaml 0.18.0 and newer removed a bunch of deprecated functions + # that ARA depends on. Cap the version until ARA updates. + _install_ansible_requirements: '{{ _install_ansible_requirements + ["ara[server]", "ruamel.yaml<0.18.0"] }}' - name: Set variable # NOTE(ianw) the block when: statement is calcuated for each task