Hi all,
I am stuck with below strange issue that ansible halts or goes into sleep mode when trying to start jboss as a root user using ansible on redhat machine1
Accordingly below are the details of the scripts that are on redhat machine1
ansible.cfg
[defaults]
host_key_checking = False
hostfile = inventory
deprecation_warnings = False
[privilege_escalation]
become = yes
become_user = root
become_method = sudo
Inventory file
host1 ansible_ssh_host=11.21.34.124
[webservers]
host1
[datacenter:children]
webservers
[datacenter:vars]
ansible_ssh_user=root
ansible_ssh_pass=password
/roles/webserver/tasks/main.yaml