Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add variable for root homedir #243

Open
wannesrams opened this issue Jan 12, 2023 · 2 comments
Open

Please add variable for root homedir #243

wannesrams opened this issue Jan 12, 2023 · 2 comments

Comments

@wannesrams
Copy link

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
Copy link
Contributor

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
Copy link
Author

I am using centos7 and root

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants