From cfa816d6d9000113fed94c2e6eb0fbb78e31107e Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Fri, 25 Oct 2019 16:27:53 +1100 Subject: [PATCH] install-ansible: Pre-install build deps for aarch64 Because there's no wheels for aarch64, ensure the build dependencies are installed. Change-Id: I9a708cbedd4f0dd471ebbd758f7cbe82be7e47c4 --- playbooks/roles/install-ansible/tasks/main.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) 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") }}'