Ansible schedule form: structured playbook-variable fields + first-item dropdown defaults #2

Merged
bvandeusen merged 126 commits from dev into main 2026-06-30 23:44:04 -04:00
Showing only changes of commit 534ed030b8 - Show all commits
@@ -61,11 +61,13 @@ def test_firing_triggers_ansible_action(app, tmp_path):
async def _go():
async with app.db_sessionmaker() as s:
# User must be committed before the rule's created_by FK can reference it.
async with s.begin():
s.add(User(
id=uid, username=f"u{uid[:8]}", email=f"{uid[:8]}@e.test",
password_hash="x", role=UserRole.admin, is_active=True,
))
async with s.begin():
s.add(AlertRule(
id=rule_id, name="cpu hot", source_module="host_agent",
resource_name="srv1", metric_name="cpu_pct",