mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07:00
Disallow --forks 0
Without at least one worker process, things break: Traceback (most recent call last): File "/home/ams/extern/ansible/ansible/lib/ansible/executor/process/result.py", line 103, in run result = self._read_worker_result() File "/home/ams/extern/ansible/ansible/lib/ansible/executor/process/result.py", line 69, in _read_worker_result (worker_prc, main_q, rslt_q) = self._workers[self._cur_worker] IndexError: list index out of range
This commit is contained in:
parent
cf35bdbdf9
commit
8de70fa657
3 changed files with 7 additions and 3 deletions
|
@ -76,7 +76,7 @@ class PlaybookCLI(CLI):
|
|||
raise AnsibleOptionsError("You must specify a playbook file to run")
|
||||
|
||||
self.display.verbosity = self.options.verbosity
|
||||
self.validate_conflicts(runas_opts=True, vault_opts=True)
|
||||
self.validate_conflicts(runas_opts=True, vault_opts=True, fork_opts=True)
|
||||
|
||||
def run(self):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue