Recently I was working on writing some quick Openstack and VMware deployment workflows. I wrote a DNS Check playbook to do a quick DNS lookup that would fail if the requested hostname already existed in DNS. This playbook runs on the ansible host and uses the lookup plugin to perform a dig on the passed … Continue reading Ansible DNS Check Playbook
Linux – Automatic backup to a hotplugged USB device
Summary I was looking for a way to automatically kick off a backup script whenever I plugged into a specific USB device. After playing around it on and off for a number of months, I finally found a good way to achieve this using udev and systemd. I wrote and tested this configuration on Fedora … Continue reading Linux – Automatic backup to a hotplugged USB device