hifis-net / ansible-role-gitlab-runner

:warning: PLEASE NOTE: This role has been migrated to our hifis.toolkit collection. :warning: Ansible role for deploying GitLab-Runner. The role is optimized for use with Openstack.
https://galaxy.ansible.com/ui/repo/published/hifis/toolkit/
Other
8 stars 2 forks source link

Molecule folder not linted by molecule lint #105

Closed christianhueserhzdr closed 1 year ago

christianhueserhzdr commented 1 year ago

When providing . as the folder path of the lintables to ansible-lint it does not lint the folder molecule/default containing converge.yml, prepare.yml, verify.yml, hence folder molecule/ need to be added to the ansible-lint call in the molecule lint commands.

Linting violations need to be fixed alongside this change:

WARNING  Listing 3 violation(s) that are fatal
name[missing]: All tasks should be named.
molecule/default/prepare.yml:10 Task/Handler: block/always/rescue 

name[missing]: All tasks should be named.
molecule/default/prepare.yml:20 Task/Handler: block/always/rescue 

name[missing]: All tasks should be named.
molecule/default/verify.yml:61 Task/Handler: block/always/rescue 

 Rule Violation Summary              
 count tag           profile rule associated tags 
     3 name[missing] basic   idiom