clone data and build under cat user
This commit is contained in:
parent
e6f6e8a977
commit
50827733c1
1 changed files with 4 additions and 0 deletions
|
@ -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 }}"
|
||||||
|
|
Loading…
Reference in a new issue