mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 20:31:27 -07:00
parent
2f33c1a1a1
commit
5553b20828
206 changed files with 1853 additions and 1870 deletions
|
@ -22,6 +22,7 @@ __metaclass__ = type
|
|||
from ansible.playbook.attribute import FieldAttribute
|
||||
from ansible.playbook.task import Task
|
||||
|
||||
|
||||
class Handler(Task):
|
||||
|
||||
_listen = FieldAttribute(isa='list')
|
||||
|
@ -41,7 +42,7 @@ class Handler(Task):
|
|||
return t.load_data(data, variable_manager=variable_manager, loader=loader)
|
||||
|
||||
def flag_for_host(self, host):
|
||||
#assert instanceof(host, Host)
|
||||
# assert instanceof(host, Host)
|
||||
if host not in self._flagged_hosts:
|
||||
self._flagged_hosts.append(host)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue