From 8f7486ed7a6b81042581060669145e0da0ca704c Mon Sep 17 00:00:00 2001 From: fadnincx Date: Thu, 4 Jan 2024 16:06:48 +0100 Subject: [PATCH] chore: update deps (#20) * chore: update deps * fix: linting --- .ansible-lint | 1 + .github/workflows/test.yml | 3 +-- ansible.cfg | 2 +- molecule-requirements.txt | 11 ++++++++--- molecule/default/prepare.yml | 1 + 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index 3f7f5cd..37b04b0 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -2,3 +2,4 @@ skip_list: - name[casing] + - risky-shell-pipe diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 50ad53b..5ea9a70 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: - ubuntu22 steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python 3 uses: actions/setup-python@v4 @@ -38,4 +38,3 @@ jobs: molecule test env: MOLECULE_DISTRO: ${{ matrix.distro }} - diff --git a/ansible.cfg b/ansible.cfg index 42a2510..c302f4e 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -2,7 +2,7 @@ role_path = ./roles retry_files_enabled = false inventory = ./inventory -collections_paths = /etc/ansible/collections +collections_path = /etc/ansible/collections log_path = /var/log/potos/ansible.log local_tmp = /tmp/.ansible/tmp remote_tmp = /tmp/.ansible/tmp diff --git a/molecule-requirements.txt b/molecule-requirements.txt index c4f0fb0..a186919 100644 --- a/molecule-requirements.txt +++ b/molecule-requirements.txt @@ -2,6 +2,11 @@ # At least Ansible 2.12 is needed due to used features like 'argument_specs' ansible>=2.12 -# Required for testing -ansible-lint[yamllint] -molecule[docker, lint] +## ansible/yaml lint +ansible-lint~=6.22.1 +yamllint~=1.33.0 + +## molecule tests +molecule~=6.0.3 +molecule-plugins~=23.5.0 +docker~=7.0.0 diff --git a/molecule/default/prepare.yml b/molecule/default/prepare.yml index 8ee9e81..664aa0b 100644 --- a/molecule/default/prepare.yml +++ b/molecule/default/prepare.yml @@ -10,6 +10,7 @@ ansible.builtin.shell: # noqa: command-instead-of-module apt-get update && apt-get upgrade -y when: ansible_distribution == 'Ubuntu' + changed_when: true - name: Install git ansible.builtin.package: