Inventory:
dmsdb19c ansible_python_interpreter=/usr/bin/python3
ansible_user=cloud-user
dms.tt040dms2 ansible_python_interpreter=/usr/bin/python3
ansible_user=cloud-user
mpcc.tt040dms2. ansible_python_interpreter=/usr/bin/python3
ansible_user=cloud-user
mssc.tt040dms2. ansible_python_interpreter=/usr/bin/python3
ansible_user=cloud-user
webapp.tt040dms2. ansible_python_interpreter=/usr/bin/python3
ansible_user=cloud-user
Playbook:
- hosts: deploy
become: true
become_method: sudo
#become_user: root
ignore_errors: yes
#any_errors_fatal: true
tasks:
- name: Gather facts for services
service_facts:
tags:
- info
- name: Stop Webapp services
service:
name: jbosswebapp
state: stopped
On Friday, July 15, 2022 at 3:10:12 PM UTC+5:30 [email protected] wrote:
> Without any context, inventory, playbook, verbose output, no.
>
> On Fri, 15 Jul 2022 at 10:25, Ashok Reddy <[email protected]> wrote:
>
>> Can some one help me?
>>
>>
>> On Friday, July 15, 2022 at 11:48:26 AM UTC+5:30 Ashok Reddy wrote:
>>
>>> Hi Team,
>>>
>>> got the following error:
>>>
>>> PLAY [Common setup for all servers]
>>> ********************************************
>>>
>>> TASK [Gathering Facts]
>>> *********************************************************
>>>
>>> After this, Ansible hangs
>>>
>>> Aborted by Mareddy, Ashokreddy
>>> Sending interrupt signal to process
>>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/58699cd2-2a80-4fa7-8d1d-963ad30c3e0cn%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/ansible-project/58699cd2-2a80-4fa7-8d1d-963ad30c3e0cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> Sent from Gmail Mobile
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/a77f705f-5d9a-49ae-a28d-294d9e1b9665n%40googlegroups.com.