diff --git a/.ansible-lint b/.ansible-lint index 5557294..acc8255 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -1,2 +1,3 @@ skip_list: - - '106' + - 'yaml' + - 'role-name' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c775c47..91bbbc9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,12 +29,11 @@ jobs: python-version: '3.x' - name: Install test dependencies. - run: pip3 install yamllint ansible-lint + run: pip3 install yamllint - name: Lint code. run: | yamllint . - ansible-lint molecule: name: Molecule diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 68b4dcb..06be705 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,9 +7,9 @@ name: Release 'on': - release: - types: - - published + push: + tags: + - '*' defaults: run: @@ -35,8 +35,4 @@ 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/.gitignore b/.gitignore index f56f5b5..8840c8f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ *.retry */__pycache__ *.pyc +.cache + diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 0714c43..7490710 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -13,6 +13,5 @@ platforms: pre_build_image: true provisioner: name: ansible - log: true playbooks: converge: ${MOLECULE_PLAYBOOK:-converge.yml}