Facing the below error while logging as my user (mahesh) and performing the 
actions on service user (service).

ERROR:
fatal: [10.0.0.1]: UNREACHABLE! => {"changed": false, "msg": 
"Authentication failure.", "unreachable": true}

Tried:
- name: deploy elasticsearch
  hosts: all
  remote_user: mahesh
  become: yes
  become_user: service

-- 
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/f7490938-4830-453a-b6be-b4b4e93b0ec0o%40googlegroups.com.

Reply via email to