---
# 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

# Lint runs offline and the ci image bakes no collections, so modules from the dependencies
# declared in galaxy.yml cannot be resolved. Their arguments are exercised by molecule, which
# installs the collections.
mock_modules:
  - ansible.posix.mount
  - ansible.posix.sysctl
  - community.general.locale_gen
  - community.general.timezone
