From ac0a3e54786b7e855062cec13d56727e965c0ee5 Mon Sep 17 00:00:00 2001 From: Sven Marcus <s.marcus@outlook.de> Date: Mon, 26 Oct 2020 11:05:56 +0100 Subject: [PATCH] Set remote user in playbook --- .gitlab-ci.yml | 2 +- ansible/playbook.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0b07371de..c4cf9ce7c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -78,7 +78,7 @@ deploy_to_phoenix: - pip3 install ansible script: - - ansible-playbook -i ansible/hosts.cfg ansible/playbook.yml -u $REMOTE_USER + - ansible-playbook -i ansible/hosts.cfg ansible/playbook.yml parallel: matrix: diff --git a/ansible/playbook.yml b/ansible/playbook.yml index 3c920e7a7..7ce54c229 100644 --- a/ansible/playbook.yml +++ b/ansible/playbook.yml @@ -1,4 +1,5 @@ - hosts: targets + remote_user: y0054816 tasks: - name: Create remote VirtualFluids_dev dir command: mkdir ~/VirtualFluids_dev -- GitLab