clone data and build under cat user

This commit is contained in:
flynn 2019-02-13 18:46:42 +01:00
parent e6f6e8a977
commit 50827733c1

View file

@ -50,12 +50,16 @@
######################## ########################
- name: Clone cat repo - name: Clone cat repo
become: yes
become_user: "{{ cat_user }}"
git: git:
repo: https://git.zeus.gent/ZeusWPI/Cat.git repo: https://git.zeus.gent/ZeusWPI/Cat.git
dest: "{{ cat_git_destination }}" dest: "{{ cat_git_destination }}"
- name: Compile to jar - name: Compile to jar
become: yes
become_user: "{{ cat_user }}"
shell: lein uberjar shell: lein uberjar
args: args:
chdir: "{{ cat_git_destination }}" chdir: "{{ cat_git_destination }}"