diff --git a/playbooks/roles/install-ansible/tasks/main.yaml b/playbooks/roles/install-ansible/tasks/main.yaml index 6ea6dc085a..88e8d7440f 100644 --- a/playbooks/roles/install-ansible/tasks/main.yaml +++ b/playbooks/roles/install-ansible/tasks/main.yaml @@ -19,6 +19,15 @@ _install_ansible_state: latest when: install_ansible_version == 'latest' +- name: Ensure required build packages for non-wheel architectures + apt: + update_cache: yes + name: + - libffi-dev + - libssl-dev + - build-essential + when: ansible_architecture == 'aarch64' + - name: Install ansible pip: name: '{{ install_ansible_name | default("ansible") }}'