execute process as cat user
This commit is contained in:
parent
a093293704
commit
03719384b8
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@
|
|||
chdir: "{{ cat_git_destination }}"
|
||||
|
||||
- name: Run jar
|
||||
become: yes
|
||||
become_user: "{{ cat_user }}"
|
||||
shell: java -jar {{cat_git_destination }}/target/uberjar/cat.jar
|
||||
environment:
|
||||
DATABASE_URL: "postgresql://localhost:5432/{{ cat_postgres_db }}?user={{ cat_postgres_user }}&password={{ cat_postgres_password }}"
|
||||
|
|
Loading…
Reference in a new issue