On 15/11/2021 10:32, dulhaver via Ansible Project wrote:
I guess the error message you got would be helpful in order to troubleshoot
your problem
At any rate, nohup is IMHO not the correct way to start an application as a
server / daemon. Even if some tutorials on the web say so. There is no
I guess the error message you got would be helpful in order to troubleshoot
your problem
> On 11/15/2021 9:34 AM Dip Giri wrote:
>
>
> ---
>
> - name: Application setup
> hosts: aws
> gather_facts: no
> tasks:
>
>
> - name: Start application
> shell: nohup mvn spring-b
---
- name: Application setup
hosts: aws
gather_facts: no
tasks:
- name: Start application
shell: nohup mvn spring-boot:run -Drun.jvmArguments="-Xmx1024m" &
args:
chdir: /home/dipak
*I want to execute nohup command on remote host using ansible but it didn't
wo