From 7802d5f21fa0e957fc86b2c4c4bcb25e241bbd5c Mon Sep 17 00:00:00 2001
From: Benjamin Bertrand <benjamin.bertrand@esss.se>
Date: Tue, 11 Sep 2018 15:32:56 +0200
Subject: [PATCH] Replace AWX username and password with token

---
 .gitlab-ci.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f5803a3e..05796f0a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,8 +10,7 @@ deploy:
     - >
       tower-cli job launch
       -h torn.tn.esss.lu.se
-      -u ${ANSIBLE_AWX_USERNAME}
-      -p ${ANSIBLE_AWX_PASSWORD}
+      -t ${TOWER_OAUTH_TOKEN}
       -J "deploy-cs-studio@lcr"
       --tags csstudio-ess-opis
       -e "csstudio_ess_opis_version=$CI_COMMIT_REF_NAME" --monitor
-- 
GitLab