diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 0aace81..99bf30f 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -13,7 +13,6 @@ jobs: steps: - uses: actions/checkout@v6 - - uses: mamba-org/setup-micromamba@4d84239119b14cba1690b971f05c0bab912bea04 with: micromamba-version: '2.4.0-0' @@ -22,14 +21,6 @@ jobs: post-cleanup: 'all' cache-environment: true - # - name: "Install role dependencies" - # run: ansible-galaxy install -r requirements.yml - # shell: micromamba-shell {0} - - - name: "Install community.general collection" - run: ansible-galaxy collection install community.general - shell: micromamba-shell {0} - - name: Check workflow files themselves with ActionLint run: actionlint shell: micromamba-shell {0} @@ -38,7 +29,7 @@ jobs: run: yamllint ci/*.yml shell: micromamba-shell {0} - - name: "Install collection dependencies" + - name: Install collection dependencies run: ansible-galaxy install -r requirements.yml shell: micromamba-shell {0} diff --git a/ci/requirements.ci.txt b/ci/requirements.ci.txt index f99c76a..af19bfd 100644 --- a/ci/requirements.ci.txt +++ b/ci/requirements.ci.txt @@ -1,6 +1,6 @@ -ansible-lint +ansible-lint==25.12.1 molecule==24.12.0 molecule-plugins[docker] docker~=7.1.0 requests==2.31.0 # pinned to the latest version not breaking Docker SDK -yamllint +yamllint==1.37.1 diff --git a/requirements.yml b/requirements.yml index ce80faa..5a3dc8a 100644 --- a/requirements.yml +++ b/requirements.yml @@ -1,10 +1,10 @@ --- collections: - name: ansible.posix + - name: community.crypto + - name: community.docker - name: community.general - name: community.grafana - - name: community.docker - - name: community.crypto - - name: maxhoesel.borgbackup - - name: lucasheld.uptime_kuma - name: community.postgresql + - name: lucasheld.uptime_kuma + - name: maxhoesel.borgbackup diff --git a/roles/users/tasks/openssh.yml b/roles/users/tasks/openssh.yml index 753bf52..0bb602b 100644 --- a/roles/users/tasks/openssh.yml +++ b/roles/users/tasks/openssh.yml @@ -1,12 +1,12 @@ --- -- name: "OpenSSH | Ensure openssh client tools are installed" +- name: "OpenSSH | Ensure openssh client tools are installed (Debian)" when: ansible_os_family == "Debian" ansible.builtin.apt: name: openssh-client state: present cache_valid_time: 3000 -- name: "OpenSSH | Ensure openssh client tools are installed" +- name: "OpenSSH | Ensure openssh client tools are installed (RedHat)" when: ansible_os_family == "RedHat" ansible.builtin.dnf: name: openssh-clients