Ejemplo n.º 1
0
 def get_hosts(cls, host, **kwargs):
     inventory = kwargs.get('ansible_inventory')
     return AnsibleRunner.get_runner(inventory).get_hosts(host or "all")
Ejemplo n.º 2
0
 def get_hosts(cls, host, **kwargs):
     inventory = kwargs.get('ansible_inventory')
     return AnsibleRunner.get_runner(inventory).get_hosts(host)
Ejemplo n.º 3
0
 def ansible_runner(self):
     return AnsibleRunner.get_runner(self.ansible_inventory)
Ejemplo n.º 4
0
 def ansible_runner(self):
     return AnsibleRunner.get_runner(self.ansible_inventory)