If we have to run cookbooks (example below) via chef to work on pre-requisite + installation of SAS Viya 3.5, how can we do that? And reason is we won't have sudo/root access to run any command as root. Not quite sure how wrapper or script if any would work;
package "nginx" do
Any suggestion/recommendation/documentation is appreciated.
You would run the ansible playbook using your install ID, but it must have the ability to sudo commands. In the installation guide the following is the criteria needed for the install ID:
The user account that is used to configure and start the deployment process must meet the following requirements:
* Super user (sudo) or root access. * To verify that your user ID is included in the sudoers file, run the following command:
* As an alternative, to verify your sudoers privileges, run this command:
* Make sure that commands that can be run as "sudo" are unrestricted on the installation computer. * This user account must be able to access the following accounts as "sudo": root, sas, and cas. Instructions for configuring the sas and cas accounts are provided in thisguide. * Appropriate permissions to create subdirectories in the directory where you saved the playbook. The recommended path is /sas/install/sas_viya_playbook. For more information, see Store the Playbook. * A home directory. You can try to get PowerBroker installed. We use that with Chef at our location.