mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 11:10:21 -07:00
add pyflakes target & associated fixes. Also decided to save JSON to --tree file so it can
be better used programatically. May have to come up with another system of tree logging for playbook if playbook decides to have tree logging. Presumably not the highest priority.
This commit is contained in:
parent
3ad9db4966
commit
6541f338df
5 changed files with 9 additions and 7 deletions
|
@ -137,7 +137,7 @@ class PlayBook(object):
|
|||
# load the module name and parameters from the task entry
|
||||
name = task['name']
|
||||
action = task['action']
|
||||
comment = task.get('comment', '')
|
||||
# comment = task.get('comment', '')
|
||||
|
||||
tokens = shlex.split(action)
|
||||
module_name = tokens[0]
|
||||
|
@ -167,7 +167,6 @@ class PlayBook(object):
|
|||
|
||||
dark = results.get("dark", {})
|
||||
contacted = results.get("contacted", {})
|
||||
ok_hosts = contacted.keys()
|
||||
|
||||
for host, msg in dark.items():
|
||||
self.processed[host] = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue