Skip to content
Snippets Groups Projects
  • Max Gautier's avatar
    a7ace2e5
    ansible-lint: Adjust pre-commit hooks dependencies · a7ace2e5
    Max Gautier authored
    Dropping the ansible dependencies for ansible-lint will allow us to
    catch missing dependencies collections in galaxy.yml. For collections
    needed for contrib/ or tests/ (i.e: not part of core kubespray
    dependencies), we can just configure ansible-lint to mock them.
    
    This mean it won't check the mocked module parameters, but for those
    area of the code base it's an acceptable trade-off.
    ansible-lint: Adjust pre-commit hooks dependencies
    Max Gautier authored
    Dropping the ansible dependencies for ansible-lint will allow us to
    catch missing dependencies collections in galaxy.yml. For collections
    needed for contrib/ or tests/ (i.e: not part of core kubespray
    dependencies), we can just configure ansible-lint to mock them.
    
    This mean it won't check the mocked module parameters, but for those
    area of the code base it's an acceptable trade-off.
roles NaN GiB