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.