From 6f0174cf37b808ab9914e61f91fe92a9c779d411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr> Date: Thu, 21 Sep 2017 21:53:18 +0200 Subject: [PATCH] use python3.5 on ansible worker to deploy webserver because ansible does not support python3.4 anymore, and this causes this on deployment: https://github.com/ansible/ansible/issues/24180 Former-commit-id: 5448751bd777f3f2d9b60dea313cf8fa2305fedc --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0d6fb36f..0c24605a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,7 +28,9 @@ deploy-webserver: script: - yum install -y epel-release - yum install -y gcc - - yum install -y python34-pip python34-devel + - wget https://centos7.iuscommunity.org/ius-release.rpm + - rpm -Uvh ius-release*.rpm + - yum install -y python35u python35u-libs python35u-devel python35u-pip - pip3 install ansible - cd ansible - whoami -- GitLab