Created
July 18, 2015 14:55
-
-
Save apenney/e187eb726abd9b52aa89 to your computer and use it in GitHub Desktop.
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
if [ $DEPLOY == true ]; then | |
ansible-playbook -i inventory/ec2 playbooks/all.yml --vault-password-file ~/.pass --extra-vars "target=&tag_Loadtest_${RUN_ID}" -u ec2-user --module-path ./modules; | |
ansible-playbook -i inventory/ec2 playbooks/nroute/ec2_mount.yml --vault-password-file ~/.pass --extra-vars "target=&tag_Loadtest_${RUN_ID}:&tag_Role_nroute" --module-path ./modules; | |
AUDOBON_DATASTORE_PUBLIC_IP=`public_ip_from_inventory "&tag_Loadtest_${RUN_ID}:&tag_Role_audobon_datastore"` | |
ansible-playbook -i inventory/ec2 playbooks/nroute/engine.yml --vault-password-file ~/.pass --extra-vars "target=&tag_Loadtest_${RUN_ID}:&tag_Role_nroute audobon_datastore=&tag_Loadtest_${RUN_ID}:&tag_Role_audobon_datastore audobon_cassandra_host={{ hostvars[groups.audobon_datastore.0].ansible_eth0.ipv4.address }} audobon_datastore=${AUDOBON_DATASTORE_PUBLIC_IP}" --extra-vars "@${EXTRA_VARS}" --module-path ./modules; | |
ansible-playbook -i inventory/ec2 playbooks/audobon/datastore.yml --vault-password-file ~/.pass --extra-vars "target=&tag_Loadtest_${RUN_ID}:&tag_Role_audobon_datastore" --extra-vars "@${EXTRA_VARS}" --module-path ./modules; | |
ansible-playbook -i inventory/ec2 playbooks/tbid/main.yml --vault-password-file ~/.pass --extra-vars "target=&tag_Loadtest_${RUN_ID}:&tag_Role_tbid" --module-path ./modules; | |
ansible-playbook -i inventory/ec2 playbooks/loadtest/main.yml --vault-password-file ~/.pass --extra-vars "target=&tag_Loadtest_${RUN_ID}:&tag_Role_loadtest" --module-path ./modules; | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment