From 21c1a2a09fcd030f04981cc42736936da50120c5 Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Thu, 21 Apr 2022 10:55:23 +0200
Subject: [PATCH] ansible have been removed

---
 .gitlab-ci.yml | 34 ----------------------------------
 1 file changed, 34 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 08a80e10..faaecdc2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -74,40 +74,6 @@ pages:
     - public
   only:
   - master
-  
-deploy-webserver:
-  stage: deploy
-  image: centos:centos7
-  before_script:
-    # install ssh-agent
-    - 'which ssh-agent || ( yum -y install openssh-clients )'
-    # run ssh-agent
-    - eval $(ssh-agent -s)
-    # add ssh key stored in SSH_PRIVATE_KEY variable to the agent store
-    - ssh-add <(echo "$SSH_PRIVATE_KEY")
-    # disable host key checking (NOTE: makes you susceptible to man-in-the-middle attacks)
-    # WARNING: use only in docker container, if you use it with shell you will overwrite your user's ssh config
-    - mkdir -p ~/.ssh
-    - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
-  script:
-    - yum install -y epel-release wget
-    - yum install -y gcc
-    - yum install -y https://repo.ius.io/ius-release-el7.rpm
-    - yum update -y
-    - yum install -y python36u python36u-libs python36u-devel python36u-pip openssl-devel  libffi-devel
-    - python3.6 -m pip install --upgrade pip
-    - export PYTHONIOENCODING=utf8
-    - export LANG=en_US.UTF-8
-    - export LANGUAGE=en_US:en
-    - export LC_ALL=en_US.UTF-8
-    - python3.6 -m pip install ansible
-    - python3.6 -m pip install virtualenv
-    - cd ansible
-    - whoami
-    - ansible-playbook -vvv -i ./hosts_deploy deploy.yaml --extra-vars "@params-server.json"
-  only:
-  - master
-
 
 
 .build:
-- 
GitLab