Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ability to pass extra parameters to bin/deploy.sh #748

Merged
merged 4 commits into from
Feb 15, 2017

Conversation

nathanielks
Copy link
Contributor

This makes it simpler to modify the ansible-playbook command, especially in the instance of debugging via -vvv or limiting what hosts getting deployed to using --limit.

@swalkinshaw
Copy link
Member

~/d/trellis ❯❯❯ ./bin/deploy.sh
Usage: deploy <environment> <site name>

<environment> is the environment to deploy to (staging, production, etc)
<site name> is the WordPress site to deploy (name defined in wordpress_sites)

Available environments:
development
production
staging

Examples:
  deploy staging example.com
  deploy production example.com

~/d/trellis ❯❯❯ gco extra-deploy-params
Switched to branch 'extra-deploy-params'
Your branch is up-to-date with 'origin/extra-deploy-params'.
~/d/trellis ❯❯❯ ./bin/deploy.sh
PLAY [Ensure necessary variables are defined] **********************************

TASK [Ensure environment is defined] *******************************************
skipping: [localhost]

PLAY RECAP *********************************************************************
localhost                  : ok=0    changed=0    unreachable=0    failed=0

@nathanielks
Copy link
Contributor Author

@swalkinshaw updated 👍

@swalkinshaw swalkinshaw merged commit 5482cf9 into master Feb 15, 2017
@swalkinshaw swalkinshaw deleted the extra-deploy-params branch February 15, 2017 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants