mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-04 15:29:10 -07:00
fixed ansible pull, reorged validate function for cli to be function specific like parser
added missing cmd_functions with run_cmd, mostly for ansible pull
This commit is contained in:
parent
3bcbdf6841
commit
5aec5e5eb0
5 changed files with 96 additions and 29 deletions
|
@ -55,6 +55,7 @@ class PlaybookCLI(CLI):
|
|||
diff_opts=True,
|
||||
runtask_opts=True,
|
||||
vault_opts=True,
|
||||
fork_opts=True,
|
||||
)
|
||||
|
||||
# ansible playbook specific opts
|
||||
|
@ -76,7 +77,7 @@ class PlaybookCLI(CLI):
|
|||
raise AnsibleOptionsError("You must specify a playbook file to run")
|
||||
|
||||
self.display.verbosity = self.options.verbosity
|
||||
self.validate_conflicts()
|
||||
self.validate_conflicts(runas_opts=True, vault_opts=True)
|
||||
|
||||
def run(self):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue