diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a65eb88..9218c1a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,4 +36,6 @@ jobs: run: pip3 install ansible-base - name: Trigger a new import on Galaxy. - run: ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }} $(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2) + run: > + ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }} $(echo ${{ github.repository }} + | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2) diff --git a/.yamllint b/.yamllint index 8827676..0e219de 100644 --- a/.yamllint +++ b/.yamllint @@ -1,33 +1,19 @@ --- -# Based on ansible-lint config extends: default - rules: + truthy: disable + # ansible-lint compatibility + # https://ansible.readthedocs.io/projects/lint/rules/yaml/#yamllint-configuration braces: + min-spaces-inside: 0 max-spaces-inside: 1 - level: error - brackets: - max-spaces-inside: 1 - level: error - colons: - max-spaces-after: -1 - level: error - commas: - max-spaces-after: -1 - level: error - comments: disable - comments-indentation: disable + comments: + min-spaces-from-content: 1 + comments-indentation: false document-start: disable - empty-lines: - max: 3 - level: error - hyphens: - level: error - indentation: disable - key-duplicates: enable - line-length: disable - new-line-at-end-of-file: disable - new-lines: - type: unix - trailing-spaces: disable - truthy: disable + line-length: + max: 120 + level: warning + octal-values: + forbid-implicit-octal: true + forbid-explicit-octal: true diff --git a/molecule/podman/collections.yml b/molecule/podman/collections.yml index 129e5bf..e2b522d 100644 --- a/molecule/podman/collections.yml +++ b/molecule/podman/collections.yml @@ -1,3 +1,3 @@ --- collections: -- community.crypto + - community.crypto