mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
-p has been replaced by a required option. Various docs changes.
This commit is contained in:
@@ -326,7 +326,9 @@ class Runner(object):
|
||||
|
||||
# find hosts that match the pattern
|
||||
hosts = self.match_hosts(self.pattern)
|
||||
|
||||
if len(hosts) == 0:
|
||||
return None
|
||||
|
||||
# attack pool of hosts in N forks
|
||||
# _executor_hook does all of the work
|
||||
hosts = [ (self,x) for x in hosts ]
|
||||
|
||||
Reference in New Issue
Block a user