Hi Experts,
  I have a playbook like

---
hosts: test_group
ansible_ssh_user: remoteuser
become: true
 become_method: sudo
tasks:
  - debug:
      msg: "Hello world"
    delegate_to: localhost

However, I don't want to use become root as my current user is not in sudoer

Is there a way to suppress become attribute while delegating the task?

Thanks in advance,
regards,
Ramu

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAAfqp0Wb2CqbwGXJmkqT48Q5bAWDm1D5tJ5Vqd23UCg0f-5O%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to