Hello Ansible

I left programming and got a job doing sysadmin tasks. Now it seems people doing this kind of job are called DevOps so I am not really a sysadmin or a programmer.

  • DevOps (a clipped compound of “development” and “operations”) is a culture, movement or practice that emphasizes the collaboration and communication of both software developers and other information-technology (IT) professionals while automating the process of software delivery and infrastructure changes”

I thought Orson Scott invented the term Ansible for instantaneous communications though space in Ender’s Game but it was invented before.

  • “The word ansible was coined by Ursula K. Le Guin in her 1966 novel Rocannon’s World. Le Guin states that she derived the name from “answerable,” as the device would allow its users to receive answers to their messages in a reasonable amount of time, even over interstellar distances”

cmykjane

Orson Scott Card created Jane though, an A.I created from the Ansible network itself.

Now I’ve to learn how to use a program called Ansible for server provisioning and orchestation. The basic idea is to make a playbook (a specially formated text file with instructions) and use it with an inventory of servers. Ansible will make sure everything is well installed and will take care of most errors. The same could be done using bash scripts though SSH  but Ansible does a lot of checks and the same script can be used several times without changing the first result making sure the servers are in a known state.

Ansible has a property called Idempotence

  • “Idempotence (/ˌdɨmˈptəns/ EYE-dəm-POH-təns ) is the property of certain operations in mathematics and computer science, that can be applied multiple times without changing the result beyond the initial application.”

I can not post here the scripts I am doing at work but I will post something with examples just to remember it.

 

 

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s