diff --git a/.ansible-lint b/.ansible-lint index a20be61..20627ae 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -20,3 +20,12 @@ mock_roles: - 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