So in the first debug I see "su  machineAdmin" which might not have access
to the specific action if yum is giving you that message.

@Brandon, this is useless:

  remote_user: "{{user_to_use}}"
  become: yes
  become_user: "{{user_to_use}}"

^ that is the same as writing  sudo 'myself', the become_user is the user
you TURN INTO, the remote_user is the one you login as and that TURNS INTO
the become_user.


-- 
----------
Brian Coca

-- 
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/CACVha7fHvVHLdBFLAyLFj4LZCFwgb6dXBjBySuNoV6jyhwQF1w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to