Switch CI to ansible 2.3.0

Closes: 1253
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
This commit is contained in:
Sergii Golovatiuk 2017-04-27 12:46:18 +02:00
parent 40407930d5
commit 28f55deaae

View file

@ -18,7 +18,7 @@ variables:
# us-west1-a # us-west1-a
before_script: before_script:
- pip install ansible==2.2.1.0 - pip install ansible==2.3.0
- pip install netaddr - pip install netaddr
- pip install apache-libcloud==0.20.1 - pip install apache-libcloud==0.20.1
- pip install boto==2.9.0 - pip install boto==2.9.0
@ -74,7 +74,7 @@ before_script:
- $HOME/.cache - $HOME/.cache
before_script: before_script:
- docker info - docker info
- pip install ansible==2.2.1.0 - pip install ansible==2.3.0
- pip install netaddr - pip install netaddr
- pip install apache-libcloud==0.20.1 - pip install apache-libcloud==0.20.1
- pip install boto==2.9.0 - pip install boto==2.9.0
@ -137,7 +137,7 @@ before_script:
if [ "${UPGRADE_TEST}" != "false" ]; then if [ "${UPGRADE_TEST}" != "false" ]; then
test "${UPGRADE_TEST}" == "basic" && PLAYBOOK="cluster.yml"; test "${UPGRADE_TEST}" == "basic" && PLAYBOOK="cluster.yml";
test "${UPGRADE_TEST}" == "graceful" && PLAYBOOK="upgrade-cluster.yml"; test "${UPGRADE_TEST}" == "graceful" && PLAYBOOK="upgrade-cluster.yml";
pip install ansible==2.2.1.0; pip install ansible==2.3.0;
git checkout "${CI_BUILD_REF}"; git checkout "${CI_BUILD_REF}";
ansible-playbook -i inventory/inventory.ini -b --become-user=root --private-key=${HOME}/.ssh/id_rsa -u $SSH_USER ansible-playbook -i inventory/inventory.ini -b --become-user=root --private-key=${HOME}/.ssh/id_rsa -u $SSH_USER
${SSH_ARGS} ${SSH_ARGS}