mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
23 lines
452 B
Bash
Executable File
23 lines
452 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# Amazon Linux 2 packages Ansible separately, so enable the repo
|
|
. /etc/os-release
|
|
if [[ $ID == 'amzn' ]]; then
|
|
amazon-linux-extras enable ansible2
|
|
fi
|
|
|
|
./bin/pacapt install --noconfirm \
|
|
ansible \
|
|
python-boto3 \
|
|
python-botocore
|
|
|
|
if [[ $1 == "--dev" ]]; then
|
|
./bin/pacapt install --noconfirm \
|
|
python3-dev python3-pip
|
|
|
|
pip3 install pipenv
|
|
pipenv sync --dev
|
|
fi
|