You have some Oracle Linux servers targeted by your ansible playbooks. You have your_playbook.yml that contains the following task: (The become and become_user instructions are not required to reproduce the error) If you got an error, just add the -vvv… Continue Reading →
In the following post we will work on a rocky Linux server (RHEL). Install EPEL Repository The Rocky Linux base repo does not contain packages for installing Clamv. Install Clamav Set SELinux for Clamav freshclam: run Virus database signature update… Continue Reading →
Go to the instance where you have attached your block volume. Now go to the ssh terminal of this instance and execute: You can see your block volume has been mounted on /fortest Now in OCI console, increase by 1G… Continue Reading →
In the OCI console, go to the block volumes menu and create a block volume. Choose in which compartment you want to create your block volume (same compartment as your host), and choose a custom size. Let the other settings… Continue Reading →
For the purpose of this article, I give you an existing context. Imagine you have one server share.yourdomain.com that is an NFS server, and that shares a directory that we have named /heapdump Now imagine you have ten other linux… Continue Reading →
When you execute shell script with ansible module ansible.builtin.shell, bash is invoked as a non-interactive login shell. Consequently, environment variables from the user are not loaded. If you execute man bash, you’ll see: The solution is juste to explicitly load… Continue Reading →
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 →
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 →
First: do you know how to run background task not attached to your user session? Running a task attached to your current user session Imagine you establish an ssh connection to your linux host, or you just log into your… Continue Reading →
Run a function in background and get its process ID Instead of creating another script that you call from your primary script you can simply declare a function (inside your primary script or inside another file that you include), and… Continue Reading →