diff --git a/localhost-deploy.sh b/localhost-deploy.sh index 27aeaf7..4f10970 100755 --- a/localhost-deploy.sh +++ b/localhost-deploy.sh @@ -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 diff --git a/roles/ansible/tasks/main.yml b/roles/ansible/tasks/main.yml index 6e1905e..c7abd8c 100644 --- a/roles/ansible/tasks/main.yml +++ b/roles/ansible/tasks/main.yml @@ -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