HCL-TECH-SOFTWARE / connections-automation

Deployment and upgrade automation scripts for HCL Connections 7.0 based on Ansible
Apache License 2.0
17 stars 30 forks source link

Please add variable for root homedir #243

Open wannesrams opened 1 year ago

wannesrams commented 1 year ago

While installing the Kubernetes playbook I ran into issues as the scripts hardcode the root home directory to /home/root, could you introduce a variable for this, in all my environments the root home dir is /root

stoeps13 commented 1 year ago

It uses /home/ + username, but this doesnnot work when you run Ansible as root. Using a nonroot to conect and become is the way to go. Afaik centos/rhel do not allow ssh / ansible as root. May I ask which OS you use?

wannesrams commented 1 year ago

I am using centos7 and root