install-ansible: Pre-install build deps for aarch64
Because there's no wheels for aarch64, ensure the build dependencies are installed. Change-Id: I9a708cbedd4f0dd471ebbd758f7cbe82be7e47c4
This commit is contained in:
parent
29019411eb
commit
cfa816d6d9
@ -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") }}'
|
||||
|
Loading…
Reference in New Issue
Block a user