Categories
Ansible

Install Ansible in Code Server

When developing I love code-server, the docker, web based implementation of visual studio code. Although I can use Visual Studio Code on the desktop, one of the benefits for me is, that using code in the browser forces me to do everything in code, there is no backdoor to run Ansible code in the LAB […]

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 […]