How do you become
a user when using a role in ansible?
For example, how would I install nodejs as root using the geerlingguy.nodejs
role from ansible galaxy? Here is the relevant portion of what I have:
roles:
- geerlingguy.nodejs
become: yes
But that produces ERROR! Syntax Error while loading YAML
on the YAML file.