|
|
@ -11,13 +11,14 @@ function update_linux() {
|
|
|
|
function install_ansible {
|
|
|
|
function install_ansible {
|
|
|
|
bash .ci/ansible-setup.sh
|
|
|
|
bash .ci/ansible-setup.sh
|
|
|
|
# pyOpen, ndg-* and pyasn1 are for 'InsecurePlatformWarning' error
|
|
|
|
# pyOpen, ndg-* and pyasn1 are for 'InsecurePlatformWarning' error
|
|
|
|
~/.avm/v2.3/venv/bin/pip install netaddr ansible-lint pyOpenSSL ndg-httpsclient pyasn1
|
|
|
|
|
|
|
|
~/.avm/v2.5/venv/bin/pip install netaddr ansible-lint pyOpenSSL ndg-httpsclient pyasn1
|
|
|
|
~/.avm/v2.5/venv/bin/pip install netaddr ansible-lint pyOpenSSL ndg-httpsclient pyasn1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Mac:
|
|
|
|
# Mac:
|
|
|
|
if [[ "$GITSECRET_DIST" == "brew" ]]; then
|
|
|
|
if [[ "$GITSECRET_DIST" == "brew" ]]; then
|
|
|
|
|
|
|
|
brew update
|
|
|
|
|
|
|
|
|
|
|
|
gnupg_installed="$(brew list | grep -c "gnupg")"
|
|
|
|
gnupg_installed="$(brew list | grep -c "gnupg")"
|
|
|
|
[[ "$gnupg_installed" -ge 1 ]] || brew install gnupg
|
|
|
|
[[ "$gnupg_installed" -ge 1 ]] || brew install gnupg
|
|
|
|
if [[ -f "/usr/local/bin/gpg1" ]]; then
|
|
|
|
if [[ -f "/usr/local/bin/gpg1" ]]; then
|
|
|
|