Commit e24825cb by Michael DeHaan

Merge pull request #9237 from jkleckner/add-limit-from-file-doc

Add doc of @filename in intro_patterns.rst
parents 2ee04999 93ea3695
...@@ -84,6 +84,10 @@ While we're jumping a bit ahead, additionally, you can add an exclusion criteria ...@@ -84,6 +84,10 @@ While we're jumping a bit ahead, additionally, you can add an exclusion criteria
ansible-playbook site.yml --limit datacenter2 ansible-playbook site.yml --limit datacenter2
And if you want to read the list of hosts from a file, prefix the file name with '@'. Since Ansible 1.2::
ansible-playbook site.yml --limit @retry_hosts.txt
Easy enough. See :doc:`intro_adhoc` and then :doc:`playbooks` for how to apply this knowledge. Easy enough. See :doc:`intro_adhoc` and then :doc:`playbooks` for how to apply this knowledge.
.. seealso:: .. seealso::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment