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 tags to select includes and tasks #453

Merged
merged 1 commit into from
Dec 30, 2015
Merged

Conversation

fullyint
Copy link
Contributor

Tagged tasks. Enjoy speedier provisioning of a test server by skipping the Diffie-Hellman task:

ansible-playbook server.yml -e env=staging --skip-tags diffie-hellman

I didn't notice any other single tasks it would be helpful to tag.

Tagged core includes. Be a little more targeted in updating your nginx includes:

ansible-playbook server.yml -e env=staging --tags wordpress-setup-nginx

You could have used --tags wordpress-setup. This is just a little more targeted.

Tagged hooked includes. Skip the experimental include you hooked into deploy_update_before:

ansible-playbook deploy.yml -e "env=staging site=example.com" --skip-tags deploy-update-before

@swalkinshaw
Copy link
Member

👍

swalkinshaw added a commit that referenced this pull request Dec 30, 2015
Add tags to select includes and tasks
@swalkinshaw swalkinshaw merged commit 97a9c05 into roots:master Dec 30, 2015
@fullyint fullyint deleted the tags branch December 30, 2015 05:19
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