We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 942207b commit d00a681Copy full SHA for d00a681
src/pytest_ansible_network_integration/__init__.py
@@ -159,7 +159,7 @@ def playbook(role: str) -> List[Dict[str, object]]:
159
:param role: The role's path
160
:returns: The playbook
161
"""
162
- task = {"name": f"Run role {role}", "include_role": {"name": role}}
+ task = {"name": f"Run role {role}", "import_role": {"name": role}}
163
play = {"hosts": "all", "gather_facts": False, "tasks": [task]}
164
playbook_obj = [play]
165
return playbook_obj
0 commit comments