Categories
Ansible Oracle

Stop Oracle on Linux with Ansible

This post describes how to stop Oracle using Ansible code. Nobody wants to login anymore, into a vm, using a prompt, bah… really. We want to use code, for example Ansible to stuff. Stopping Oracle takes two steps. One, stop the listener, two stop the database. First we will check if the database is running. […]

Categories
Ansible

Install Ansible on Centos 8

Wanting to get started with Ansible? Already have a Centos machine up and running or want to use a Centos machine? This post will provide a guided installation to get you up and running in no time. Lets get started In 3 steps we will have Ansible installed on your Centos 8 machine. Step 1 […]

Categories
Ansible SAP

SAP HANA Create Technical User

Non-technical users without password lifetime Ever got this as a security check remark? This is how I solve that in the ansible task: Run you code again. In the AMS8 Lab I use AWX, which I love. You can rerun, rerun until your done just from within the GUI. If you now go back to […]

Categories
Ansible VMWARE

Set Linux Hostname the same as VM name with Ansible

While deploying new VM’s is easy with Ansible, I kept on struggling with setting the hostname. There is Ansible documentation to use vmware_vm_shell module to set the hostname. The following is stated on their help page. Whatever I tried, I could not manage to get it working. It dit not error but just didn’t work. […]

Categories
Ansible

Adding Dynamic EC2 Inventory to Ansible

Working with Ansible is cool. To be able to work quickly with Ansible on AWS it can be handy to use a dynamic inventory. This has some real benefits: You don’t need to edit the inventory by hand No more typo’s or ip mismatches Automated is always better 😉 To do this you create an […]