From 4cefd1b2dba83cf023a002e05a9601de3f224708 Mon Sep 17 00:00:00 2001 From: Torstein Saltvedt Date: Wed, 29 Jan 2014 14:16:03 +0100 Subject: [PATCH] Added info on --skip-tags to tags documentation. --- docsite/rst/playbooks_tags.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docsite/rst/playbooks_tags.rst b/docsite/rst/playbooks_tags.rst index c48ced2090a..308d451c884 100644 --- a/docsite/rst/playbooks_tags.rst +++ b/docsite/rst/playbooks_tags.rst @@ -24,6 +24,10 @@ Example:: If you wanted to just run the "configuration" and "packages" part of a very long playbook, you could do this:: ansible-playbook example.yml --tags "configuration,packages" + +On the other hand, if you want to run a playbook *without* certain tasks, you could do this:: + + ansible-playbook example.yml --skip-tags "notification" You may also apply tags to roles::