From fc295966c7ff6c8dcfe3a26bfadc5ce4414a0aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr> Date: Thu, 3 Aug 2017 17:31:01 +0200 Subject: [PATCH] Update .gitlab-ci.yml Former-commit-id: 50cdd7877d7ccc410fb6d708334150b3c565fd0f --- .gitlab-ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fe5cf4f1..0bb15434 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,4 +11,11 @@ test-centos7: - yum install -y httpd httpd-devel - cd ippisite - pip3 install -r requirements.txt - - python3 manage.py test \ No newline at end of file + - python3 manage.py test + deploy-webserver: + stage: deploy + tags: + - ansible + script: + - cd ansible + - ansible-playbook -v -i ./hosts deploy.yaml --ask-become-pass --extra-vars "deploy_user_name=ippidb repo_api_token=JZS-4cH7bWkFkHa2rAVf" \ No newline at end of file -- GitLab