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
dnmvisser
(Dick Visser)
3
Without any context, inventory, playbook, verbose output, no.
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
dnmvisser
(Dick Visser)
5
You forgot the verbose output