Skip to content

Commit d00a681

Browse files
committed
Switch to import
1 parent 942207b commit d00a681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytest_ansible_network_integration/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def playbook(role: str) -> List[Dict[str, object]]:
159159
:param role: The role's path
160160
:returns: The playbook
161161
"""
162-
task = {"name": f"Run role {role}", "include_role": {"name": role}}
162+
task = {"name": f"Run role {role}", "import_role": {"name": role}}
163163
play = {"hosts": "all", "gather_facts": False, "tasks": [task]}
164164
playbook_obj = [play]
165165
return playbook_obj

0 commit comments

Comments
 (0)