diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index c02e5d9..e035835 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -11,19 +11,19 @@ jobs: steps: - name: Check out the codebase - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # 4.2.0 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 with: ref: ${{ github.event.pull_request.head.sha }} - name: Set up Python ${{ env.PYTHON_VERSION }} - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # 5.2.0 + uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # 5.3.0 with: python-version: ${{ env.PYTHON_VERSION }} cache: 'pip' # caching pip dependencies - name: Cache Vagrant boxes id: cache-vagrant - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # 4.0.2 + uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # 4.1.2 with: lookup-only: true #if it exists, we don't need to restore and can skip the next step path: | diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 79b13ae..c4d1c4e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,18 +11,18 @@ jobs: steps: - name: Check out the codebase - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # 4.2.0 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 with: ref: ${{ github.event.pull_request.head.sha }} - name: Set up Python ${{ env.PYTHON_VERSION }} - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # 5.2.0 + uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # 5.3.0 with: python-version: ${{ env.PYTHON_VERSION }} cache: 'pip' # caching pip dependencies - name: Restore Ansible cache - uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # 4.0.2 + uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # 4.1.2 with: path: ~/.ansible/collections key: ansible-${{ hashFiles('collections/requirements.yml') }} @@ -45,9 +45,9 @@ jobs: runs-on: self-hosted steps: - name: Checkout code - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # 4.2.0 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 - name: Ensure SHA pinned actions - uses: zgosalvez/github-actions-ensure-sha-pinned-actions@b8f9a25a51fe633d9215ac7734854dc11cd299cb # 3.0.13 + uses: zgosalvez/github-actions-ensure-sha-pinned-actions@40ba2d51b6b6d8695f2b6bd74e785172d4f8d00f # 3.0.14 with: allowlist: | aws-actions/ diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5d440c0..0ce61cc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Check out the codebase - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # 4.2.0 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 with: ref: ${{ github.event.pull_request.head.sha }} @@ -59,13 +59,13 @@ jobs: EOF - name: Set up Python ${{ env.PYTHON_VERSION }} - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # 5.2.0 + uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # 5.3.0 with: python-version: ${{ env.PYTHON_VERSION }} cache: 'pip' # caching pip dependencies - name: Restore vagrant Boxes cache - uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # 4.0.2 + uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # 4.1.2 with: path: ~/.vagrant.d/boxes key: vagrant-boxes-${{ hashFiles('**/molecule.yml') }} @@ -118,7 +118,7 @@ jobs: - name: Upload log files if: always() # do this even if a step before has failed - uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # 4.4.0 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # 4.4.3 with: name: logs path: | diff --git a/requirements.txt b/requirements.txt index 2b58bb2..19dd748 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ # ansible-compat==4.1.11 # via molecule -ansible-core==2.17.4 +ansible-core==2.17.5 # via # -r requirements.in # ansible-compat diff --git a/roles/k3s_server_post/tasks/cilium.yml b/roles/k3s_server_post/tasks/cilium.yml index 4442a5f..d7a48b0 100644 --- a/roles/k3s_server_post/tasks/cilium.yml +++ b/roles/k3s_server_post/tasks/cilium.yml @@ -224,7 +224,6 @@ - name: Set _cilium_bgp_neighbors fact ansible.builtin.set_fact: _cilium_bgp_neighbors: "{{ lookup('community.general.merge_variables', '^cilium_bgp_neighbors__.+$', initial_value=cilium_bgp_neighbors, groups=cilium_bgp_neighbors_groups) }}" # yamllint disable-line rule:line-length - when: cilium_bgp_neighbors | length > 0 - name: Copy BGP manifests to first master ansible.builtin.template: