v2.5 fix error: 'failed to validate the SSL certificate for api.github.com:443'

that we see only with 'gnupg-git-[debian|ubuntu]' kitchen configs
  with ansible < 2.5.0.0
pull/148/head
Josh Rabinowitz 7 years ago
parent 884c6afc36
commit 937a2c8d9d

@ -12,11 +12,11 @@ export ANSIBLE_VERSIONS_0="2.3.1.0"
export INSTALL_TYPE_0="pip"
export ANSIBLE_LABEL_0="v2.3"
## Install Ansible 2.4.1 using pip and label it 'v2.4'
export ANSIBLE_VERSIONS_1="2.4.1.0"
export ANSIBLE_VERSIONS_1="2.5.0.0"
export INSTALL_TYPE_1="pip"
export ANSIBLE_LABEL_1="v2.4"
export ANSIBLE_LABEL_1="v2.5"
# Whats the default version
export ANSIBLE_DEFAULT_VERSION="v2.4"
export ANSIBLE_DEFAULT_VERSION="v2.5"
## Create a temp dir to download avm
avm_dir="$(mktemp -d 2> /dev/null || mktemp -d -t 'mytmpdir')"

@ -14,7 +14,7 @@ function install_ansible {
bundle install
# pyOpen, ndg-* and pyasn1 are for 'InsecurePlatformWarning' error
~/.avm/v2.3/venv/bin/pip install netaddr ansible-lint pyOpenSSL ndg-httpsclient pyasn1
~/.avm/v2.4/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
}

Loading…
Cancel
Save