-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Trellis CLI deploy flag suggestion #208
Comments
Probably makes sense to support natively. In the meantime, I think you could use extra vars: trellis deploy --extra-vars ansible_limit=kinsta_production production |
@jt-adwisemedia I assume you're using the In most cases, We'll try and get that guide updated because If there's a difference, feel free to re-open this issue. |
@swalkinshaw I've come here looking for exactly this. Example of a use case here in Roots Discourse. We have our Trellis structured as follows:
Our deploy then looks like this with the old deploy.sh script:
Not strictly related to this issue, but if I try to run your suggestion while provisioning, trellis-cli gives an error
|
That should work... can you try it with quotes? trellis provision --extra-vars "ansible_limit=server1" production |
Wait sorry I misread that error message. It's handling the command correctly but it's only detecting the Do you not have a |
No, the |
Opened a new issue for that: #278 |
Summary
Add support for the
--limit
flag for thetrellis deploy <environment>
command, currently we have to write the entireansible-playbook deploy.yml -e env=production -e site=yoursite.tld --limit=kinsta_production
, would be nice if you could just writetrellis deploy production --limit=kinsta_production
.Motivation
Nice quality of life change, convenience.
The text was updated successfully, but these errors were encountered: