- /ansible/playbooks lists every playbook across sources: what it says it does, its category and destructive flag, how it last ran; the whole row opens the playbook. A source with none is one quiet line. - /ansible/playbooks/<source>/<path>: the verdict (what it does, flagged destructive, last ran), the run form in place (dry run beside the button, options folded), the schedules that use it, its recent runs, the playbook itself folded. ?from=<run> fills the form from that run: Run again on a run's page. - /ansible/browse, its view page and the /run-form fragment are gone, not redirected (rule 122); every link points at the new pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
522 B
HTML
9 lines
522 B
HTML
{# ansible/_tabs.html — the Ansible section's pages as one strip of tabs (#5328),
|
|
on every Ansible page; `active` names the page or the one it sits under. #}
|
|
{% from "_macros.html" import section_tabs %}
|
|
{% macro ansible_tabs(active) -%}
|
|
{{ section_tabs([("runs", "Runs", "/ansible/"), ("playbooks", "Playbooks", "/ansible/playbooks"),
|
|
("schedules", "Schedules", "/ansible/schedules"),
|
|
("inventory", "Inventory", "/ansible/inventory/targets")], active, "Ansible") }}
|
|
{%- endmacro %}
|