Start provisioning on #OpenStack thru #ansible in a few steps

Boring to provision again and again thru horizon or command-line on your openstack. Well, here you have a refreshing post. Start doing it with ansible. Step ONE: Prepare your container Build and prepare your container with ansible and python shade module. First create you Dockerfile with this: Now, install docker and build it: Step TWO: import your profile In my case, I copied my openstack … Continue reading Start provisioning on #OpenStack thru #ansible in a few steps

Ansible playbook and roles to install #kubernetes with nuage (version 1.5)

Provide an Ansible playbook that implements the steps described in Installing Kubernetes on Linux with kubeadm for version 1.5 (check at the bottom of the kubeadm tutorial). My case, ansible runs into a container with a temporary private key. Check more details at p1nrojas/ansible-kubeadm-nuage Please Note Kubernetes/kubeadm 1.5 Assumptions These playbooks assume: Nuage VSD and VSCs are up and running. You have access to 3+ … Continue reading Ansible playbook and roles to install #kubernetes with nuage (version 1.5)

data-only containers for ansible automation

Hi, I did a playbook to create my PoCs much faster (from days to one hour). And got some issues with my Mac. My python got broken Then I’ve decided to manage my playbook thru containers (Check my project here). However, managing data from those, brings a portability issue. Then, to make it simple. I started to use data-only containers. I’ve got the the idea … Continue reading data-only containers for ansible automation

Your own SDWAN demo at packet.net (~60min)

This playbook will create a Bare Metal Type 2 server at packet.net and install a whole Nuage VNS solution to try features like Zero Touch Bootstrapping and Application Aware Routing (App classification and SLAs). Check the app at https://github.com/p1nrojas/packet-nuagevns Installing gateways, dns and ntp services, management and control planes in just one server with Centos7 KVM: Install your KVM server (sdwan01) into the brand new … Continue reading Your own SDWAN demo at packet.net (~60min)

#ansible & #docker – Failed to connect to new control master

I’ve been using ansible playbooks on containers. After I’ve started to use data-only containers. I’ve got the following message. I’ve got the following message: Digging around, I could find the following post: “Multiplex/shared SSH connections not connecting: “Control socket connect Connection refused. Failed to connect to new control master” Base on that info, I’ve just need to Change the ControlPath to shared memory. Seems the … Continue reading #ansible & #docker – Failed to connect to new control master

#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