mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-27 15:11:33 -07:00
molecule and role fixes
This commit is contained in:
parent
ebda9a536a
commit
2abb508e2d
4 changed files with 8 additions and 13 deletions
|
@ -1,10 +1,9 @@
|
|||
__metaclass__ = type
|
||||
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
|
||||
import os
|
||||
import testinfra.utils.ansible_runner
|
||||
|
||||
__metaclass__ = type
|
||||
|
||||
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
||||
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
|
||||
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
__metaclass__ = type
|
||||
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
|
||||
import os
|
||||
import testinfra.utils.ansible_runner
|
||||
|
||||
__metaclass__ = type
|
||||
|
||||
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
||||
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
|
||||
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
__metaclass__ = type
|
||||
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
|
||||
import os
|
||||
|
||||
import testinfra.utils.ansible_runner
|
||||
|
||||
__metaclass__ = type
|
||||
|
||||
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
||||
os.environ['MOLECULE_INVENTORY_FILE']
|
||||
).get_hosts('all')
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
__metaclass__ = type
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
|
||||
import os
|
||||
|
||||
import testinfra.utils.ansible_runner
|
||||
|
||||
__metaclass__ = type
|
||||
|
||||
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
||||
os.environ['MOLECULE_INVENTORY_FILE']
|
||||
).get_hosts('all')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue