I am using deployment manager to add certificates in truststore using the below command on linux which works fine.
./sasdm.sh -console
Now, I want to automate this process of adding latest certificates, so I'm trying to run it in quiet mode (with response file) which runs fine when I run the command manually on the server. However when I'm running the same command from a pipeline (ansible shell module), it gives error. Is there a way to run it without login to the terminal.
Command-
/opt/sas/bin/SASDeploymentManager/9.4/sasdm.sh -lang en -loglevel 2 -quiet -responsefile '/opt/sas/bin/SASDeploymentManager/9.4/sasadm_add_cert_root_reponse.txt' -templocation '/opt/sas/saswork/temp' -console
The error is -
Error: Your DISPLAY environmental variable has not been set.
Please set it and run this application again.
I tried this, still gives same error.
I don't think quiet and console are compatible, when the first one is for executing with the responsefile, and the second one is for going through the wizard.
I would just select quiet, and perhaps I would add nosplash.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
Learn how to explore data assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.