3 ms·
Good question! I manage a few on premise servers, running docker containers, with ansible. I have some app version-specifc playbooks that I run when necessary
by rudasn 6y ago
Good question!
I manage a few on premise servers, running docker containers, with ansible. I have some app version-specifc playbooks that I run when necessary (eg. a version that requires changes on the server) and a playbook.sh script to run such playbooks (that provides some default values, logging etc).
I've been thinking about adding a cli that would make it easier to prompt the user for values, and execute certain work flows depending on the values. I'm not sure if it's worth the effort though, and wonder if it's something that's easier done with ansible.
I wonder what other people have done in similar situations.
- mlejva 6y agoWe are a small team and we built ourselves a not so complicated CLI tool to ease inspecting and management of our infrastructure. It certainly boosted our productivity and made our lives much easier. I'm not sure whether the time spent developing this tool was worth it though. Since it's not just one time job but a continuous maintenance. On the other, we wouldn't go back to the old ways now.