Add more package to ansible role on Alpine
This commit is contained in:
parent
4b543de41e
commit
e87d3b0f35
@ -14,7 +14,7 @@ if ! command -v ansible > /dev/null 2>&1; then
|
||||
sudo apt-get install python3-pip python3-setuptools -y
|
||||
elif command -v apk > /dev/null 2>&1; then
|
||||
printf "Installing via APK\n"
|
||||
sudo apk add gcc musl-dev py3-criptography py3-pip py3-setuptools
|
||||
sudo apk add gcc musl-dev py3-cryptography py3-pip py3-setuptools
|
||||
else
|
||||
printf "No supported package manager found\nPlease install Ansible manually"
|
||||
exit 1
|
||||
|
@ -16,10 +16,13 @@
|
||||
- name: Install Ansible-required packages via apk
|
||||
apk:
|
||||
name:
|
||||
- py3-pip
|
||||
- gcc
|
||||
- musl-dev
|
||||
- py3-boto
|
||||
- py3-boto3
|
||||
- py3-botocore
|
||||
- py3-cryptography
|
||||
- py3-pip
|
||||
- py3-setuptools
|
||||
when: ansible_distribution == "Alpine"
|
||||
- name: Install Ansible-required packages via pip
|
||||
|
Loading…
Reference in New Issue
Block a user