# Copyright (c) 2020, Jingrow and Contributors
# See license.txt


import jingrow
from jingrow.tests.utils import JingrowTestCase


def create_test_ansible_play_task(
	play: str = "",
	role: str = "",
	task: str = "",
	status: str = "Success",
	output: str = "",
):
	play = jingrow.get_pg(
		{
			"pagetype": "Ansible Task",
			"play": play,
			"role": role,
			"task": task,
			"status": status,
			"output": output,
		}
	).insert()
	# play.db_set("status", status)
	play.reload()
	return play


class TestAnsibleTask(JingrowTestCase):
	pass
