Closed Heroico closed 4 years ago
Yes, this role needs to be run with root privileges, either by logging in as root directly or by using become in some form at the playbook level. The README should probably be updated to mention this bit of information.
Thanks a lot!
Hi there!
I have to create a high-performance computing server, and I'm trying to use this repo for the slurm step. It fails at the user creation step. It looks like a basic permissions error where some unix commands should be ran as
root
.The error I get is:
My minimal reproducible playbook is like this:
I'm not sure what to do here. I can use a
become
directive at the playbook level to have this work, but I wanted to check with you first if there is a better way to achieve this. (Bear in mind: I'm not a sysadmin/devops person, I'm merely a coder recently forced to maintain infrastructure). Thanks in advance!