Category: Server
-

“Build And Replace” Linux Migration Via Ansible, Ascender, AWX, AAP
Migrating from one Linux major version to another never seems to be a simple task, but through the magic of automation, it can be a lot simpler and reproducible. I’m going to cover the Ansible playbooks I created to do the work, then I’ll execute it using our enterprise automation platform called Ascender. Our recommended…
-
Nexus 9K or NXOS 9000 failed. trying to read config file from on VMWare
When trying to load a Nexus OVA in my lab VMWare cluster I was getting the “failed. trying to read config file” every time I reloaded the switch. I figured out I needed to add a single line to the config: boot nxos bootflash:/nxos.9.2.4.bin My full base config is: hostname nexus9k-template no password strength-check ip…
-

HTTP Error 401 – Unauthorized with AWX and Oauth to Servicenow on Cloudflare
So I am running CIQ Ascender which is built from the upstream Ansible AWX project(holler at me if you are looking for support), and to protect it as well as give it an SSL cert I use Cloudflare. This works a treat because my install instantly has a valid cert and all is right with…
-
Adding Local Repository On RHEL – For AAP
If you want to install Ansible Navigator or Ansible Builder on your machines, you really should be doing it from the Red Hat official files and not via PIP. The bundled Ansible Automation Platform installer includes the RPMs to install both navigator and builder. Here’s a quick and easy way to make the RPM directory…
-

Jinja2 HTML Templates For Reporting With Ansible Automation Platform The Easy Way
One of the really awesome uses for ansible is to perform an action and be able to develop a pretty report…for you or, let’s face it…management likes pretty graphs and spreadsheets. I worked in tandem with the talented tiger Nick Arellano at a recent hackaton, and he cleaned up a tidy little jinja2 template to…
-

Resize Windows Disk On VMWare Via Ansible Automation Platform
I really like having little bite sized demos, though some argue telling a big story works best…I suppose a mix of the two is likely the real solution. This demo shows the Ansible Automation Platform(AAP) connecting to VMware Vcenter to expand a disk on a windows host. AAP then connects to the disk and expands…
-

Provision Azure Windows/Linux VMs Using Ansible Automation Platform, Plus Post Provisioning
So not only will I be provisioning Windows and Linux VMs, but I’ll also be adding them to my inventory, doing post provision hardening, and doing a system scan. Having said that, I’m going to be doing “art of the possible” on hardening and scanning as those will absolutely vary based on your needs, so…