Last active
May 10, 2018 19:58
-
-
Save brunoluiz/5f0ba013db14f40a4335d0ca8bd8ee0f to your computer and use it in GitHub Desktop.
Inventory deploy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/git/newoffers-infra/ansible | |
git checkout master | |
git pull --all | |
source .venv-ansible2/bin/activate | |
# Set the version here | |
VERSION=chub-1859.001 | |
# Set the env here | |
ENV=int | |
# Build inventory | |
make inventory-build env=$ENV apikey=v2 version=$VERSION inventory_api_version=V2 | |
# Deploy inventory | |
make inventory env=$ENV apikey=v2 version=$VERSION inventory_api_version=V2 tags=deploy | |
# Deactive ansible venv | |
deactivate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment