Is there any best practice around the use and/or documentation of sudo/become with roles? These are the questions I'm unsure about and have not seen any related guidelines:
- If a role requires sudo priviledges for one or more tasks, should it apply it just for those tasks? Or not use "become" at all and let the playbook calling the role apply it? - If priviledges are required but not applied in the role, would it be good practice to document the need as part of the role docs? thanks! -- 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/da775e89-74a2-473a-b00b-ab6630e5c5f4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
