Skip to content

deploy: site.yml names roles that don't exist (network, security) — the playbook fails before its first task #20775

Open

Description

@mrveiss

Problem

autobot-slm-backend/ansible/site.yml names two roles that don't exist in ansible/roles/: network and security, in the play whose roles: list is common, network, security, time_sync. So ansible-playbook --syntax-check site.yml fails with ERROR! the role 'network' was not found (site.yml:37). Any run of the playbook fails the same way before its first task.

autobot-infrastructure/shared/scripts/ansible/deploy.sh runs site.yml.

Not established

Whether deploy.sh and site.yml are still a supported install path, or were superseded by the SLM's install and update playbooks. If they were superseded, the work is to finish that migration and record it. If not, the missing roles have to exist.

Acceptance criteria

  • ansible-playbook --syntax-check site.yml passes, or site.yml and deploy.sh are wired to the path that replaced them, with the decision recorded.
  • A test syntax-checks every top-level playbook a script or the SLM runs, so a role reference that goes stale fails CI.

Found while checking #20762 (#20750).

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendbugSomething isn't workingphase:M1.4Wizard and SLM: choose a mode, apply it, default models workpriority: medium

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions