diff options
author | Toshio Kuratomi <a.badger@gmail.com> | 2016-09-29 14:14:02 -0700 |
---|---|---|
committer | Brian Coca <bcoca@users.noreply.github.com> | 2016-10-06 10:46:58 -0400 |
commit | 1efe782b4631e1e2f63a56bb6acba84903445512 (patch) | |
tree | 87aae68bc441ddfeb3001c0aff329760b08cfd25 /examples | |
parent | 9962245b92edc11cb66e8ccec8503cee7000e5e8 (diff) | |
download | ansible-1efe782b4631e1e2f63a56bb6acba84903445512.tar.gz |
Refactor parsing of CLI args so that we can modify them in the base class
Implement tag and skip_tag handling in the CLI() class. Change tag and
skip_tag command line options to be accepted multiple times on the CLI
and add them together rather than overwrite.
* Make it configurable whether to merge or overwrite multiple --tags arguments
* Make the base CLI class an abstractbaseclass so we can implement
functionality in parse() but still make subclasses implement it.
* Deprecate the overwrite feature of --tags with a message that the
default will change in 2.4 and go away in 2.5.
* Add documentation for merge_multiple_cli_flags
* Fix galaxy search so its tags argument does not conflict with generic tags
* Unit tests and more integration tests for tags
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ansible.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/ansible.cfg b/examples/ansible.cfg index 1ad716f69c..f8aa4ef887 100644 --- a/examples/ansible.cfg +++ b/examples/ansible.cfg @@ -261,6 +261,11 @@ # set to 0 for unlimited (RAM may suffer!). #max_diff_size = 1048576 +# This controls how ansible handles multiple --tags and --skip-tags arguments +# on the CLI. If this is True then multiple arguments are merged together. If +# it is False, then the last specified argument is used and the others are ignored. +#merge_multiple_cli_flags = False + [privilege_escalation] #become=True #become_method=sudo |