---
# Same profile as the environment repo. The production profile enforces
# var-naming[no-role-prefix]: every role variable carries the role name as a prefix.
profile: production

exclude_paths:
  - .gitea
  - .venv
  - apm_modules
  - apm.lock.yaml
  - changelogs
  - images

# The Collection is checked out outside an ansible_collections/mortis/kamino path (CI clones it
# into the workspace), so ansible-lint cannot resolve a role of this Collection by its FQCN in
# a scenario's converge play. List the roles the scenarios call by FQCN.
mock_roles:
  - mortis.kamino.docker
  - mortis.kamino.fail2ban
  - mortis.kamino.network_interfaces
  - mortis.kamino.system_baseline
  - mortis.kamino.systemd_hardening

# The collections of the Collection's dependencies (galaxy.yml) are pinned in requirements.yml and
# resolved offline: the ci image bakes them into /opt/collections and scripts/dev-setup.sh installs
# them into .ansible/collections, so their modules are linted, not mocked.
