#ansible and #python pexpect for unconventional ssh interfaces

Eating some ansible last months. Love the way it works. However, when you need to deal with some appliances using unconventional ssh interfaces. Well, It’s been quite a challenge. Then, I started to create my own python tool for those cases. The victim is VSC (Nuage Virtualized Services Controller). The secret weapon of Nuage SDN. It’s a pretty nice piece of software encapsulating the famous … Continue reading #ansible and #python pexpect for unconventional ssh interfaces

#ansible #docker image to safely run my playbooks in few steps

Hi there, after some work on my ansible playbooks. I made a disaster on Mac and I got some issues with my Python libraries. Actually, my ansible stop to work. Then, I decided to apply what I’be been saying over my last posts. Use containers to encapsulate my apps and libraries. What a nice journey. First, Install docker. Then, you’ll need to prepare your env … Continue reading #ansible #docker image to safely run my playbooks in few steps

Create your own on-premises SDN experience in 30min #nuagenetworks

Caution! Use it under your own risk. Intended for PoCs and Labs Create a Nuage VCS in a KVM Box Hello there. Bored to create and recreate many times a dns/ntp/dhcp and Nuage VSP ( SDN controller ) servers for my demos. I’ve created this playbook It would create a libvirt VMs and set bind, ntp and dhcp up in one of the servers. And … Continue reading Create your own on-premises SDN experience in 30min #nuagenetworks

Highlight ansible YAML and Jinja syntax in “vim” Editor

Hi Guys, Sometimes. I’m getting a bit dizzy with all those lines playing with ansible. This will helpful to have more fun over your coding. Active syntax colors i your YAML and Jinja files Use this: https://github.com/tpope/vim-pathogen Now add the following lines to vim ~/.vimrc to activate this and start autoloading bundles. Now, download the bundles. You’re done! Now prepare to be amazed “vim” any … Continue reading Highlight ansible YAML and Jinja syntax in “vim” Editor

Prepare your #Kubernetes Cluster with #Ansible and #cloud_init

A bit tired using bash scripts. I’ve done this small playbook based on the post: “Resize and manage cloud-init on kvm with centos cloud images”. to build up your k8s master/minions over KVM using a Cloud QCOW2 image. I’ve used cloud_init to configure those cloud images from a temporary cdrom iso. Check out the code at my repo: p1nrojas/k8s-demo-installer Requirements Check out you have enough … Continue reading Prepare your #Kubernetes Cluster with #Ansible and #cloud_init