mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
What we are running is actually a "play" (multiple plays per playbook) so rename the function to make it more clear
This commit is contained in:
@@ -161,7 +161,7 @@ class PlayBook(object):
|
||||
# loop through all patterns and run them
|
||||
self.callbacks.on_start()
|
||||
for pattern in self.playbook:
|
||||
self._run_pattern(pattern)
|
||||
self._run_play(pattern)
|
||||
|
||||
# summarize the results
|
||||
results = {}
|
||||
@@ -389,7 +389,7 @@ class PlayBook(object):
|
||||
x['run'] = []
|
||||
x['run'].append(host)
|
||||
|
||||
def _run_pattern(self, pg):
|
||||
def _run_play(self, pg):
|
||||
'''
|
||||
run a list of tasks for a given pattern, in order
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user