Recently I’ve been using Ansible to push out updates to vSphere environments that have a lot of hosts, but no working installation of VMWare Update Manager available. During the creation of the below playbook, I found a few interesting caveats to using Ansible to manage your ESXI hosts and vCenter. To resolve this, I’ve created a playbook that does the following:
- Puts targeted hosts in mainteance mode and evacuates VM’s
- Copies VIB to the host
- Checks for existing installation of VIB, Uninstall if found
- Installs VIB
- Takes host out of maintenance mode.
Continue reading “Using Ansible to Update ESXI VIB’s and manage vCenter at scale.”
Many times when working with Powershell Modules, I’m presented with an object that contains data that I want, but it’s embedded inside nested hash tables, or isn’t quite storing the data in a way that’s useful for me to work with.
Continue reading “Using Custom PS Objects to Quickly Filter Data from Custom PS Modules”
Lately I’ve been using Ansible to update configurations on my JunOS devices. Here’s a fun little script to get you started. It will print the configuration of the DHCP service on a JunOS device, then update the name-server DHCP option to something new. The following playbook uses the JunOS ansible role
Continue reading “Using Ansible to update Junos Device Configurations”
Are you using a Pulse Secure VPN Appliance and need to roll out a connection profile update to clients, but don’t want to reinstall them all using MSI’s and command line parameters? Then you’ve come to the right post!
Continue reading “Updating Pulse Secure Connection Profiles with PowerShell”
Here’s a quick script to backup the configuration of a PA Firewall using the API to a XML file, Similar to a few other scripts online, but a little cleaner. Modify the following to suit your environment
Continue reading “Backup configuration of a Palo Alto Firewall With Powershell!”