amq7 broker service start command not working through ansible (AWX)

32 views
Skip to first unread message

Raj

unread,
Feb 26, 2021, 12:39:13 PM2/26/21
to Ansible Project
service Stop command working fine
/bin/artemis-service stop

service start command is not working 
/bin/artemis-service start

I used nohup and wrote shell script to start but  not working.

Could you please help on this one.

TIA 

Stefan Hornburg (Racke)

unread,
Feb 26, 2021, 12:47:49 PM2/26/21
to ansible...@googlegroups.com
How is that writing a shell script related to Ansible?

Regards
Racke

>
> --
> 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-proje...@googlegroups.com <mailto:ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/0df12cf4-da2c-4f32-8d41-2575b9ee8647n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/0df12cf4-da2c-4f32-8d41-2575b9ee8647n%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

OpenPGP_signature

Raj

unread,
Feb 26, 2021, 12:49:57 PM2/26/21
to Ansible Project
no.. I placed start service command in .sh file.

Thanks

Raj

unread,
Feb 26, 2021, 12:54:50 PM2/26/21
to Ansible Project
no.. I placed start service command in .sh file.

Thanks

On Friday, February 26, 2021 at 12:47:49 PM UTC-5 brae...@gmail.com wrote:

Stefan Hornburg (Racke)

unread,
Feb 26, 2021, 12:56:57 PM2/26/21
to ansible...@googlegroups.com
On 2/26/21 6:49 PM, Raj wrote:
> no.. I placed start service command in .sh file.
>
> Thanks
>

You know that Ansible has a "service" module, don't you?

Anyway, no point to pursue this further with the sparse information you gave.

Regards
Racke

> On Friday, February 26, 2021 at 12:47:49 PM UTC-5 brae...@gmail.com wrote:
>
> On 2/26/21 6:39 PM, Raj wrote:
> > service Stop command working fine
> > /bin/artemis-service stop
> >
> > service start command is not working 
> > /bin/artemis-service start
> >
> > I used nohup and wrote shell script to start but  not working.
> >
> > Could you please help on this one.
> >
> > TIA
>
> How is that writing a shell script related to Ansible?
>
> Regards
> Racke
>
> >
> > --
> > 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-proje...@googlegroups.com <mailto:ansible-proje...@googlegroups.com>.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/ansible-project/0df12cf4-da2c-4f32-8d41-2575b9ee8647n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/0df12cf4-da2c-4f32-8d41-2575b9ee8647n%40googlegroups.com>
> >
> <https://groups.google.com/d/msgid/ansible-project/0df12cf4-da2c-4f32-8d41-2575b9ee8647n%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/ansible-project/0df12cf4-da2c-4f32-8d41-2575b9ee8647n%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
>
>
> --
> Ecommerce and Linux consulting + Perl and web application programming.
> Debian and Sympa administration. Provisioning with Ansible.
>
> --
> 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-proje...@googlegroups.com <mailto:ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/731ce4b4-0949-478c-87d0-fdf9dfe2f292n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/731ce4b4-0949-478c-87d0-fdf9dfe2f292n%40googlegroups.com?utm_medium=email&utm_source=footer>.
OpenPGP_signature

Raja Natte

unread,
Feb 26, 2021, 1:05:57 PM2/26/21
to ansible...@googlegroups.com
Sorry for missing  the Information. know ansible have service module..

Application configured there broker in there  app directory like below. that's the reason issued  shell and command module but no luck  {{Application}}/bin/artemis-service start.

Stop is working fine... but start not working

To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/47a104ba-d2a1-1dd4-c140-27c8a2282485%40linuxia.de.
Reply all
Reply to author
Forward
0 new messages