Note book to help you and me remember some tricks

Month January 2023

Do not trust chatGPT answers

Just be careful, chatGPT is a black box, you don’t know how it resolves your question. Furthermore on a question when you lack some knowledge, your no able to evaluate the quality of the answer. For instance, I’ve just knock… Continue Reading →

Tomcat start with ansible doesn’t work, tomcat starts but process doesn’t stay active

It happens because when ansible close it’s ssh connection, and when the ssh connection is closed the kernel sends SIGHUP to the controlling process of the ssh connection. But when executing startup.sh, the java process will receive the SIGHUP and… Continue Reading →

.bash_profile environment variables are not set with ansible connection when I become an unprivileged user

This happens when you use the become directive, for instance: The documentation says two things: The become_user set to user with desired privileges — the user you become, NOT the user you login as. Does NOT imply become: yes, to… Continue Reading →

© 2024 Software engineer >> Sysadmin >> Devops >> SRE

Up ↑