Created
April 3, 2017 23:16
-
-
Save gfoster/39a5e1f81c982228738330b8287ff565 to your computer and use it in GitHub Desktop.
description
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
[[snippets]] | |
description = "Ansible Deploy" | |
command = "ansible-playbook -i inventories/staging deploy.yml --extra-vars='application=v3 migrate=true branch=production' --limit <limit>" | |
[[snippets]] | |
description = "Ansible Restart" | |
command = "ansible-playbook restart.yml -i inventories/staging --limit <limit>" | |
[[snippets]] | |
description = "s1" | |
command = "ssh deploy@staging-1.taskrabbit.in" | |
[[snippets]] | |
description = "s2" | |
command = "ssh deploy@staging-2.taskrabbit.in" | |
[[snippets]] | |
description = "s3" | |
command = "ssh deploy@staging-3.taskrabbit.in" | |
[[snippets]] | |
description = "s4" | |
command = "ssh deploy@staging-4.taskrabbit.in" | |
[[snippets]] | |
description = "s5" | |
command = "ssh deploy@staging-5.taskrabbit.in" | |
[[snippets]] | |
description = "s6" | |
command = "ssh deploy@staging-6.taskrabbit.in" | |
[[snippets]] | |
description = "s7" | |
command = "ssh deploy@staging-7.taskrabbit.in" | |
[[snippets]] | |
description = "s8" | |
command = "ssh deploy@staging-8.taskrabbit.in" | |
[[snippets]] | |
description = "reseed staging database" | |
command = "FOR_REAL=true TRUNCATE=true MARKETING_DATA=true USERS=true bundle exec rake data_seeder:clear_and_seed" | |
[[snippets]] | |
description = "Push out new blacklist to load balancers" | |
command = "ansible-playbook -i inventories/production-aws-east blacklist.yml --limit aws-stingray-\\*" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment