remote_user is usable, but you need to know about precedence, it will
only work if you did NOT have an override
(ansible_user/ansible_ssh_user override it).
It is normally used to change the 'default' remote_user or the one set
in config/play/block/role containing the task.
To set a different remote user when using the variable overrides, just
set the variable for the task:
- name: Problem task
command: "shell command"
The vars override the keywords, but the vars are still vars and normal
variable precedence still applies.
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 post to this group, send email to firstname.lastname@example.org.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.