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 <dipakgiri.serv...@gmail.com> wrote:
> 
> 
> ---
> 
> - 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 
> work 
> 
> 
> --
> You received this message because you are subscribed to the Google Groups 
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to ansible-project+unsubscr...@googlegroups.com 
> mailto:ansible-project+unsubscr...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/77f328ac-d41b-44b5-a7ff-3f85f89fbe54n%40googlegroups.com
>  
> https://groups.google.com/d/msgid/ansible-project/77f328ac-d41b-44b5-a7ff-3f85f89fbe54n%40googlegroups.com?utm_medium=email&utm_source=footer
>  .
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2021256539.3416.1636968749678%40office.mailbox.org.

Reply via email to