Skip to content

Commit

Permalink
chore(deps): update dependency ansible-core to v2.17.2 (#756)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency ansible-core to v2.17.2

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Downgrade Ansible version for Rocky 8

Signed-off-by: Martin Schurz <[email protected]>

* Downgrade Ansible version for Rocky 8

Signed-off-by: Martin Schurz <[email protected]>

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Martin Schurz <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Martin Schurz <[email protected]>
  • Loading branch information
renovate[bot] and schurzi authored Aug 7, 2024
1 parent 3e67f91 commit ea2fe10
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/mysql_hardening.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ jobs:
pip install -r requirements.txt
working-directory: ansible_collections/devsec/hardening

- name: Downgrade Ansible for Rocky 8 tests
run: |
pip install "ansible-core<2.17"
working-directory: ansible_collections/devsec/hardening
if: matrix.molecule_distro == 'rocky8'

# that was a hard one to fix. robert did it thankfully
# https://github.com/robertdebock/ansible-role-mysql/commit/7562e99099b06282391ab7ed102b393a0406d212
- name: disable apparmor on debian systems
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/nginx_hardening.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ jobs:
pip install -r requirements.txt
working-directory: ansible_collections/devsec/hardening

- name: Downgrade Ansible for Rocky 8 tests
run: |
pip install "ansible-core<2.17"
working-directory: ansible_collections/devsec/hardening
if: matrix.molecule_distro == 'rocky8'

# Molecule has problems detecting the proper location for installing roles
# https://github.com/ansible/molecule/issues/3806
# we do not set a custom role path, but the automatically determined install path used is not compatible with the location molecule expects the role
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/os_hardening.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ jobs:
pip install -r requirements.txt
working-directory: ansible_collections/devsec/hardening

- name: Downgrade Ansible for Rocky 8 tests
run: |
pip install "ansible-core<2.17"
working-directory: ansible_collections/devsec/hardening
if: matrix.molecule_distro == 'rocky8'

- name: Test with molecule
run: |
if [ "$MOLECULE_DISTRO" = "opensuse_tumbleweed" ]; then
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ssh_hardening.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ jobs:
pip install -r requirements.txt
working-directory: ansible_collections/devsec/hardening

- name: Downgrade Ansible for Rocky 8 tests
run: |
pip install "ansible-core<2.17"
working-directory: ansible_collections/devsec/hardening
if: matrix.molecule_distro == 'rocky8'

- name: Test with molecule
run: |
if [ "$MOLECULE_DISTRO" = "opensuse_tumbleweed" ]; then
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ssh_hardening_custom_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ jobs:
pip install -r requirements.txt
working-directory: ansible_collections/devsec/hardening

- name: Downgrade Ansible for Rocky 8 tests
run: |
pip install "ansible-core<2.17"
working-directory: ansible_collections/devsec/hardening
if: matrix.molecule_distro == 'rocky8'

- name: Test with molecule
run: |
if [ "$MOLECULE_DISTRO" = "opensuse_tumbleweed" ]; then
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
molecule
molecule-plugins[docker]
yamllint
ansible-core==2.16.5
ansible-core==2.17.2
ansible-lint
docker
flake8
Expand Down

0 comments on commit ea2fe10

Please sign in to comment.