mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 00:13:09 -06:00
24 lines
492 B
Bash
Executable File
24 lines
492 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 \
|
|
python-dev python-pip \
|
|
python3-dev python3-pip
|
|
|
|
pip install pipenv
|
|
pipenv sync --dev
|
|
fi
|