mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00: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:
@@ -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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user