diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b938e799e56c6eacf1030115758f4a9a0f5518b7..d6a643c15b3e98016e55666410985568dd3ab3ae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -78,7 +78,13 @@ deploy_to_phoenix: - chmod 600 /root/.ssh/config - chown root /root/.ssh/config - ls -l /root/.ssh - - ansible-playbook -i ansible/hosts.cfg ansible/playbook.yml + - ansible-playbook -i ansible/hosts.cfg ansible/playbook.yml -u $REMOTE_USER + + parallel: + matrix: + - ANSIBLE_MATRIX: 0 + REMOTE_USER: + - y0054816 create_release: image: registry.gitlab.com/gitlab-org/release-cli:latest diff --git a/ansible/playbook.yml b/ansible/playbook.yml index 800e9955e732b1729db856c5ad79632d663469bc..398a384e1d14a84f419ad8e4d0bf60a90b6ebe07 100644 --- a/ansible/playbook.yml +++ b/ansible/playbook.yml @@ -1,8 +1,7 @@ - hosts: targets - remote_user: y0054816 tasks: - name: Copy VirtualFluids_dev folder copy: - src: . + src: ../ dest: ~/VirtualFluids_dev