{% extends "base.html" %} {% from "_macros.html" import crumbs %} {% block title %}{{ "Edit" if editing else "New" }} Playbook — Steward{% endblock %} {% block breadcrumb %}{{ crumbs([("Ansible", "/ansible/"), ("Browse", "/ansible/browse"), (("Edit " ~ playbook_path) if editing else "New playbook", "")]) }}{% endblock %} {% block content %}

{{ "Edit playbook" if editing else "New playbook" }}

{% if error %}
{{ error }}
{% endif %} {% if not editable_sources %}
No writable playbook source is available. The built-in steward-local source should appear automatically; you can also configure a local-dir source under Settings → Ansible.
{% else %}
{% if editing %} {% else %} {% endif %}

Validated as YAML on save. Runs as the configured Ansible user — admin only.

Cancel
{% if editing %}
{% endif %} {% endif %} {% endblock %}