techdebt

Ansible on HP-UX 11.31

The problem Old corporations that are running ancient OS'es desperately need configuration management and automation to keep the dinosaurs efficient. The goal Install Python on HP-UX so Ansible can manage and automate the ancient servers. HowTo sandor@theargo> ansible -i hosts all -m raw -a "swinstall -x mount_all_filesystems=false -s depotserver:/depot/11.31/python python"

Run Ansible through pmksh

The problem Old corporations use shitty old software to do things that modern Linux is really good at doing itself. Using pmksh instead of a well laid out sudoers setup is what the problem is. The goal Configure Ansible playbooks to execute through the pmksh shell on the targeted servers. Shells & Ansible Currently Ansible & Python work together to take the output from bash and report back with formatting. Ansible does not understand ksh talk making running through pmksh a workaround for now.

Using Ansible to Align Passwords on Servers

The Problem: A group of servers get their passwords updated every 3 months with a new shared password. The servers passwords are then inconsistently updated leaving a group of servers with one of several possible user passwords. The Goal: Use Ansible to attempt to login to each server using each of the possible passwords to find the correct one and log it. The final step of the playbook will have Ansible logging into each server using the found to be correct password and updating each server to a new shared password.

Add WebProxy Cert to Fedora

The Goal Make Fedora work behind a restrictive idiotic corporate web proxy Install a corporate cert to make that happen Get the cert Install the cert sandor@theargo> openssl x509 -text -in /path/to/proxycert.crt >> /etc/pki/tls/certs/ca-bundle.crt The result Your corporate overlord has now man in the middled your personal gmail, have fun.