1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #15209 from temal-/devel

Add '--skip-tags' to ansible-pull
This commit is contained in:
Brian Coca 2016-03-30 18:56:06 -07:00
commit 5022fe9adc

View file

@ -207,6 +207,8 @@ class PullCLI(CLI):
cmd += ' -e "%s"' % ev cmd += ' -e "%s"' % ev
if self.options.ask_sudo_pass or self.options.ask_su_pass or self.options.become_ask_pass: if self.options.ask_sudo_pass or self.options.ask_su_pass or self.options.become_ask_pass:
cmd += ' --ask-become-pass' cmd += ' --ask-become-pass'
if self.options.skip_tags:
cmd += ' --skip-tags "%s"' % self.options.skip_tags
if self.options.tags: if self.options.tags:
cmd += ' -t "%s"' % self.options.tags cmd += ' -t "%s"' % self.options.tags
if self.options.subset: if self.options.subset: