Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's one way, you could also allow SSH key access as root too.

Ansible also has a --ask-pass and --ask-sudo-pass if you want to provide a password.



So you store a password that will give you root/sudo on your production machine in your deployment code, or just on your ci server?


I would suggest just using keys in this case.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: