From e03fdc082f11c131fbc1bc666f9ed98c7d9f5f1b Mon Sep 17 00:00:00 2001 From: Alexandr Reshetnikov Date: Mon, 15 May 2023 07:02:22 +0400 Subject: [PATCH] ansible-7.5.0-core-2.14.5 (#57) ansible-config ansible-playbook ansible-galaxy ansible-lint --- .github/workflows/ansible.yml | 2 +- README.md | 13 ++++---- ansible/build_docker.sh | 7 ++-- ansible/build_gnu.sh | 39 ++++++++++------------- ansible/release/__main__ansible-galaxy.py | 7 ++++ ansible/release/_ansible-galaxy | 3 ++ ansible/release/ansible-galaxy.sh | 3 ++ ansible/test_docker.sh | 14 +++++--- ansible/test_linux.sh | 37 ++++++++------------- 9 files changed, 65 insertions(+), 60 deletions(-) create mode 100644 ansible/release/__main__ansible-galaxy.py create mode 100755 ansible/release/_ansible-galaxy create mode 100755 ansible/release/ansible-galaxy.sh diff --git a/.github/workflows/ansible.yml b/.github/workflows/ansible.yml index 24dae6086..fb3072d98 100644 --- a/.github/workflows/ansible.yml +++ b/.github/workflows/ansible.yml @@ -51,7 +51,7 @@ jobs: uses: ./.github/workflows/release.yml with: workflow: ${{ github.workflow }} - tool_version: '7.1.0' + tool_version: '7.5.0' prepare_body: | bsdtar -Oxf ./build-docker/build-docker.tar.gz build-docker.md >> body.md bsdtar -Oxf ./build-gnu/build-gnu.tar.gz build-gnu.md >> body.md diff --git a/README.md b/README.md index c0e184bfc..1140d59a9 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,16 @@ # Standalone (static) tools: | releases | latest source | |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/bsdtar-3.6.2/total?label=⭳%20bsdtar-3.6.2)](https://github.com/hemnstill/StandaloneTools/releases/tag/bsdtar-3.6.2) | [![GitHub Repo stars](https://img.shields.io/github/stars/libarchive/libarchive?style=social&label=libarchive)](https://github.com/libarchive/libarchive) [![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/libarchive/libarchive)](https://github.com/libarchive/libarchive/releases/latest) | -| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/pcre2grep-10.40/total?label=⭳%20pcre2grep-10.40)](https://github.com/hemnstill/StandaloneTools/releases/tag/pcre2grep-10.40) | [![GitHub Repo stars](https://img.shields.io/github/stars/PCRE2Project/pcre2?style=social&label=PCRE2)](https://github.com/PCRE2Project/pcre2) [![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/PCRE2Project/pcre2)](https://github.com/PCRE2Project/pcre2/releases/latest) | -| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/openssl-3.0.1/total?label=⭳%20openssl-3.0.1)](https://github.com/hemnstill/StandaloneTools/releases/tag/openssl-3.0.1)
[![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/openssl-1_1_1m/total?label=⭳%20openssl-1_1_1m)](https://github.com/hemnstill/StandaloneTools/releases/tag/openssl-1_1_1m) | [![GitHub Repo stars](https://img.shields.io/github/stars/openssl/openssl?style=social&label=OpenSSL)](https://github.com/openssl/openssl) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/openssl/openssl)](https://www.openssl.org/news/changelog.html) | -| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/far2l-2.5.0/total?label=⭳%20far2l-2.5.0)](https://github.com/hemnstill/StandaloneTools/releases/tag/far2l-2.5.0) | [![GitHub Repo stars](https://img.shields.io/github/stars/elfmz/far2l?style=social&label=far2l)](https://github.com/elfmz/far2l) [![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/elfmz/far2l)](https://github.com/elfmz/far2l/releases/latest) | -| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/pg_dump-15.1/total?label=⭳%20pg_dump-15.1)](https://github.com/hemnstill/StandaloneTools/releases/tag/pg_dump-15.1) | [![GitHub Repo stars](https://img.shields.io/github/stars/postgres/postgres?style=social&label=postgres)](https://github.com/postgres/postgres) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/postgres/postgres)](https://www.postgresql.org/docs/current/index.html) | -| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/busybox-1.35.0-FRP-4784/total?label=⭳%20busybox-1.35.0-FRP-4784)](https://github.com/hemnstill/StandaloneTools/releases/tag/busybox-1.35.0-FRP-4784) | [![GitHub Repo stars](https://img.shields.io/github/stars/rmyorston/busybox-w32?style=social&label=busybox-w32)](https://github.com/rmyorston/busybox-w32) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/rmyorston/busybox-w32)](https://frippery.org/busybox/release-notes/current.html) | | [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/python-3.11.3/total?label=⭳%20python-3.11.3)](https://github.com/hemnstill/StandaloneTools/releases/tag/python-3.11.3) | [![GitHub Repo stars](https://img.shields.io/github/stars/indygreg/python-build-standalone?style=social&label=python-build-standalone)](https://github.com/indygreg/python-build-standalone) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/indygreg/python-build-standalone)](https://python-build-standalone.readthedocs.io/en/latest/)
[![GitHub Repo stars](https://img.shields.io/github/stars/python/cpython?style=social&label=python)](https://github.com/python/cpython) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/python/cpython)](https://docs.python.org/3/) | | [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/poetry-1.4.1/total?label=⭳%20poetry-1.4.1)](https://github.com/hemnstill/StandaloneTools/releases/tag/poetry-1.4.1) | [![GitHub Repo stars](https://img.shields.io/github/stars/python-poetry/poetry?style=social&label=poetry)](https://github.com/python-poetry/poetry) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/python-poetry/poetry)](https://python-poetry.org/docs/) | | [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/pylint-2.17.0/total?label=⭳%20pylint-2.17.0)](https://github.com/hemnstill/StandaloneTools/releases/tag/pylint-2.17.0) | [![GitHub Repo stars](https://img.shields.io/github/stars/PyCQA/pylint?style=social&label=pylint)](https://github.com/PyCQA/pylint) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/PyCQA/pylint)](https://pylint.pycqa.org/en/latest/) | | [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/mypy-1.1.1/total?label=⭳%20mypy-1.1.1)](https://github.com/hemnstill/StandaloneTools/releases/tag/mypy-1.1.1) | [![GitHub Repo stars](https://img.shields.io/github/stars/python/mypy?style=social&label=mypy)](https://github.com/python/mypy) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/python/mypy)](https://mypy.readthedocs.io/en/latest/) | +| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/ansible-7.5.0/total?label=⭳%20ansible-7.5.0-core-2.14.5)](https://github.com/hemnstill/StandaloneTools/releases/tag/ansible-7.5.0) | [![GitHub Repo stars](https://img.shields.io/github/stars/ansible/ansible?style=social&label=ansible)](https://github.com/ansible/ansible) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/ansible/ansible)](https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html) | +| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/bsdtar-3.6.2/total?label=⭳%20bsdtar-3.6.2)](https://github.com/hemnstill/StandaloneTools/releases/tag/bsdtar-3.6.2) | [![GitHub Repo stars](https://img.shields.io/github/stars/libarchive/libarchive?style=social&label=libarchive)](https://github.com/libarchive/libarchive) [![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/libarchive/libarchive)](https://github.com/libarchive/libarchive/releases/latest) | +| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/pg_dump-15.1/total?label=⭳%20pg_dump-15.1)](https://github.com/hemnstill/StandaloneTools/releases/tag/pg_dump-15.1) | [![GitHub Repo stars](https://img.shields.io/github/stars/postgres/postgres?style=social&label=postgres)](https://github.com/postgres/postgres) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/postgres/postgres)](https://www.postgresql.org/docs/current/index.html) | +| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/busybox-1.35.0-FRP-4784/total?label=⭳%20busybox-1.35.0-FRP-4784)](https://github.com/hemnstill/StandaloneTools/releases/tag/busybox-1.35.0-FRP-4784) | [![GitHub Repo stars](https://img.shields.io/github/stars/rmyorston/busybox-w32?style=social&label=busybox-w32)](https://github.com/rmyorston/busybox-w32) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/rmyorston/busybox-w32)](https://frippery.org/busybox/release-notes/current.html) | +| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/far2l-2.5.0/total?label=⭳%20far2l-2.5.0)](https://github.com/hemnstill/StandaloneTools/releases/tag/far2l-2.5.0) | [![GitHub Repo stars](https://img.shields.io/github/stars/elfmz/far2l?style=social&label=far2l)](https://github.com/elfmz/far2l) [![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/elfmz/far2l)](https://github.com/elfmz/far2l/releases/latest) | +| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/pcre2grep-10.40/total?label=⭳%20pcre2grep-10.40)](https://github.com/hemnstill/StandaloneTools/releases/tag/pcre2grep-10.40) | [![GitHub Repo stars](https://img.shields.io/github/stars/PCRE2Project/pcre2?style=social&label=PCRE2)](https://github.com/PCRE2Project/pcre2) [![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/PCRE2Project/pcre2)](https://github.com/PCRE2Project/pcre2/releases/latest) | +| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/openssl-3.0.1/total?label=⭳%20openssl-3.0.1)](https://github.com/hemnstill/StandaloneTools/releases/tag/openssl-3.0.1)
[![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/openssl-1_1_1m/total?label=⭳%20openssl-1_1_1m)](https://github.com/hemnstill/StandaloneTools/releases/tag/openssl-1_1_1m) | [![GitHub Repo stars](https://img.shields.io/github/stars/openssl/openssl?style=social&label=OpenSSL)](https://github.com/openssl/openssl) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/openssl/openssl)](https://www.openssl.org/news/changelog.html) | diff --git a/ansible/build_docker.sh b/ansible/build_docker.sh index d6a98eec9..b7ee67c2a 100755 --- a/ansible/build_docker.sh +++ b/ansible/build_docker.sh @@ -2,7 +2,7 @@ dp0="$(realpath "$(dirname "$0")")" set -e -alpine_version="3.17.2" +alpine_version="3.18.0" self_name="ansible-alpine-$alpine_version" image_name="$self_name:latest" @@ -31,9 +31,12 @@ docker image: %s %s +%s + ' "$image_name" \ "$(docker run --rm "$image_name" ansible --version)" \ - "$(docker run --rm "$image_name" ansible-lint --version)" + "$(docker run --rm "$image_name" ansible-galaxy --version | head -1)" \ + "$(docker run --rm "$image_name" ansible-lint --version | head -1)" } > build-docker.md cat build-docker.md diff --git a/ansible/build_gnu.sh b/ansible/build_gnu.sh index f3bc92b0a..4ccbe4862 100755 --- a/ansible/build_gnu.sh +++ b/ansible/build_gnu.sh @@ -3,31 +3,17 @@ dp0="$(realpath "$(dirname "$0")")" set -e apk update -apk add --no-cache alpine-sdk python3-dev gcompat - -{ printf '%s' "-----BEGIN PUBLIC KEY----- -MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApZ2u1KJKUu/fW4A25y9m -y70AGEa/J3Wi5ibNVGNn1gT1r0VfgeWd0pUybS4UmcHdiNzxJPgoWQhV2SSW1JYu -tOqKZF5QSN6X937PTUpNBjUvLtTQ1ve1fp39uf/lEXPpFpOPL88LKnDBgbh7wkCp -m2KzLVGChf83MS0ShL6G9EQIAUxLm99VpgRjwqTQ/KfzGtpke1wqws4au0Ab4qPY -KXvMLSPLUp7cfulWvhmZSegr5AdhNw5KNizPqCJT8ZrGvgHypXyiFvvAH5YRtSsc -Zvo9GI2e2MaZyo9/lvb+LbLEJZKEQckqRj4P26gmASrZEPStwc+yqy1ShHLA0j6m -1QIDAQAB ------END PUBLIC KEY-----" -} > "/etc/apk/keys/sgerrand.rsa.pub" - -wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r0/glibc-2.35-r0.apk -wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r0/glibc-bin-2.35-r0.apk -wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r0/glibc-i18n-2.35-r0.apk -apk add --force-overwrite glibc-2.35-r0.apk glibc-bin-2.35-r0.apk glibc-i18n-2.35-r0.apk -/usr/glibc-compat/bin/localedef -i en_US -f UTF-8 en_US.UTF-8 +apk add --no-cache alpine-sdk python3-dev bash + +"$dp0/../.tools/install_alpine_glibc.sh" + export LC_ALL=en_US.UTF-8 tool_name="ansible" -tool_version="7.1.0" -tool_core_version="2.14.1" -tool_lint_version="6.13.1" -python_self_name="python-3.11.1" +tool_version="7.5.0" +tool_core_version="2.14.5" +tool_lint_version="6.16.0" +python_self_name="python-3.11.3" self_name="$tool_name-$tool_version" release_version_dirpath="$dp0/release/$self_name" echo "::set-output name=tool_name::$tool_name" @@ -75,6 +61,10 @@ cp -f "$dp0/release/ansible-playbook.sh" "$release_version_dirpath/" cp -f "$dp0/release/__main__ansible-playbook.py" "$release_version_dirpath/" cp -f "$dp0/release/_ansible-playbook" "$release_version_dirpath/Scripts/bin/ansible-playbook" +cp -f "$dp0/release/ansible-galaxy.sh" "$release_version_dirpath/" +cp -f "$dp0/release/__main__ansible-galaxy.py" "$release_version_dirpath/" +cp -f "$dp0/release/_ansible-galaxy" "$release_version_dirpath/Scripts/bin/ansible-galaxy" + cp -f "$dp0/release/ansible-lint.sh" "$release_version_dirpath/" cp -f "$dp0/release/__main__ansible-lint.py" "$release_version_dirpath/" @@ -93,10 +83,13 @@ cd "$release_version_dirpath" %s +%s + ' "$(./"$tool_name.sh" --version)" \ "$(./"ansible-config.sh" --version | head -1)" \ "$(./"ansible-playbook.sh" --version | head -1)" \ - "$(./"ansible-lint.sh" --version)" + "$(./"ansible-galaxy.sh" --version | head -1)" \ + "$(./"ansible-lint.sh" --version | head -1)" } > build-gnu.md cat build-gnu.md diff --git a/ansible/release/__main__ansible-galaxy.py b/ansible/release/__main__ansible-galaxy.py new file mode 100644 index 000000000..abc55c07b --- /dev/null +++ b/ansible/release/__main__ansible-galaxy.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +import re +import sys +from ansible.cli.galaxy import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/ansible/release/_ansible-galaxy b/ansible/release/_ansible-galaxy new file mode 100755 index 000000000..66f2957ed --- /dev/null +++ b/ansible/release/_ansible-galaxy @@ -0,0 +1,3 @@ +#!/bin/bash +dp0="$(realpath "$(dirname "$0")")" +"$dp0/python3" "$dp0/../../__main__ansible-galaxy.py" "$@" diff --git a/ansible/release/ansible-galaxy.sh b/ansible/release/ansible-galaxy.sh new file mode 100755 index 000000000..38a52df29 --- /dev/null +++ b/ansible/release/ansible-galaxy.sh @@ -0,0 +1,3 @@ +#!/bin/bash +dp0="$(realpath "$(dirname "$0")")" +"$dp0/Scripts/bin/python3" "$dp0/__main__ansible-galaxy.py" "$@" diff --git a/ansible/test_docker.sh b/ansible/test_docker.sh index 354e63fc5..66a191ae7 100755 --- a/ansible/test_docker.sh +++ b/ansible/test_docker.sh @@ -1,25 +1,29 @@ #!/bin/bash -alpine_version="3.17.2" +alpine_version="3.18.0" self_name="ansible-alpine-$alpine_version" image_name="$self_name:latest" docker load --input "../bin/$self_name.tar.gz" test_version() { - assertEquals "ansible [core 2.13.6] + assertEquals "ansible [core 2.14.5] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] - ansible python module location = /usr/lib/python3.10/site-packages/ansible + ansible python module location = /usr/lib/python3.11/site-packages/ansible ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible - python version = 3.10.10 (main, Feb 9 2023, 02:08:14) [GCC 12.2.1 20220924] + python version = 3.11.3 (main, May 10 2023, 12:26:31) [GCC 12.2.1 20220924] (/usr/bin/python3) jinja version = 3.1.2 libyaml = True" "$(docker run --rm $image_name ansible --version)" } +test_ansible_galaxy_version() { + assertEquals "ansible-galaxy [core 2.14.5]" "$(docker run --rm $image_name ansible-galaxy --version | head -1)" +} + test_ansible_lint_version() { - assertEquals "ansible-lint 6.9.1 using ansible 2.13.6" "$(docker run --rm $image_name ansible-lint --version | head -1)" + assertEquals "ansible-lint 6.16.0 using ansible 2.14.5" "$(docker run --rm $image_name ansible-lint --version | head -1)" } # Load and run shUnit2. diff --git a/ansible/test_linux.sh b/ansible/test_linux.sh index 449b5387d..778ecfc8d 100755 --- a/ansible/test_linux.sh +++ b/ansible/test_linux.sh @@ -3,25 +3,12 @@ is_alpine_os=false && [[ -f "/etc/alpine-release" ]] && is_alpine_os=true is_ubuntu_os=false && [[ -f "/etc/lsb-release" ]] && is_ubuntu_os=true +../.tools/install_alpine_glibc.sh + if [[ "$is_alpine_os" == true ]]; then apk update - apk add --no-cache gcompat git - - { printf '%s' "-----BEGIN PUBLIC KEY----- -MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApZ2u1KJKUu/fW4A25y9m -y70AGEa/J3Wi5ibNVGNn1gT1r0VfgeWd0pUybS4UmcHdiNzxJPgoWQhV2SSW1JYu -tOqKZF5QSN6X937PTUpNBjUvLtTQ1ve1fp39uf/lEXPpFpOPL88LKnDBgbh7wkCp -m2KzLVGChf83MS0ShL6G9EQIAUxLm99VpgRjwqTQ/KfzGtpke1wqws4au0Ab4qPY -KXvMLSPLUp7cfulWvhmZSegr5AdhNw5KNizPqCJT8ZrGvgHypXyiFvvAH5YRtSsc -Zvo9GI2e2MaZyo9/lvb+LbLEJZKEQckqRj4P26gmASrZEPStwc+yqy1ShHLA0j6m -1QIDAQAB ------END PUBLIC KEY-----" -} > "/etc/apk/keys/sgerrand.rsa.pub" - wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r0/glibc-2.35-r0.apk - wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r0/glibc-bin-2.35-r0.apk - wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r0/glibc-i18n-2.35-r0.apk - apk add --force-overwrite glibc-2.35-r0.apk glibc-bin-2.35-r0.apk glibc-i18n-2.35-r0.apk - /usr/glibc-compat/bin/localedef -i en_US -f UTF-8 en_US.UTF-8 + apk add --no-cache git + export LC_ALL=en_US.UTF-8 fi @@ -31,31 +18,35 @@ if [[ "$is_ubuntu_os" == true ]]; then fi test_version() { - assertEquals "ansible [core 2.14.1] + assertEquals "ansible [core 2.14.5] config file = None configured module search path = ['/github/home/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /__w/StandaloneTools/StandaloneTools/bin/Scripts/lib/python3.11/site-packages/ansible ansible collection location = /github/home/.ansible/collections:/usr/share/ansible/collections executable location = /__w/StandaloneTools/StandaloneTools/bin/__main__ansible.py - python version = 3.11.1 (main, Jan 16 2023, 22:40:32) [Clang 15.0.7 ] (/__w/StandaloneTools/StandaloneTools/bin/Scripts/bin/python3) + python version = 3.11.3 (main, May 7 2023, 19:33:53) [Clang 16.0.3 ] (/__w/StandaloneTools/StandaloneTools/bin/Scripts/bin/python3) jinja version = 3.1.2 libyaml = True" "$(../bin/ansible.sh --version)" } test_bin_version() { - assertEquals "ansible [core 2.14.1]" "$(../bin/Scripts/bin/ansible --version | head -1)" + assertEquals "ansible [core 2.14.5]" "$(../bin/Scripts/bin/ansible --version | head -1)" } test_ansible_config_version() { - assertEquals "ansible-config [core 2.14.1]" "$(../bin/Scripts/bin/ansible-config --version | head -1)" + assertEquals "ansible-config [core 2.14.5]" "$(../bin/Scripts/bin/ansible-config --version | head -1)" } test_ansible_playbook_version() { - assertEquals "ansible-playbook [core 2.14.1]" "$(../bin/Scripts/bin/ansible-playbook --version | head -1)" + assertEquals "ansible-playbook [core 2.14.5]" "$(../bin/Scripts/bin/ansible-playbook --version | head -1)" +} + +test_ansible_galaxy_version() { + assertEquals "ansible-galaxy [core 2.14.5]" "$(../bin/ansible-galaxy.sh --version | head -1)" } test_ansible_lint_version() { - assertEquals "ansible-lint 6.13.1 using ansible 2.14.1" "$(../bin/ansible-lint.sh --version | head -1)" + assertEquals "ansible-lint 6.16.0 using ansible 2.14.5" "$(../bin/ansible-lint.sh --version | head -1)" } # Load and run shUnit2.