TECH NOTES JOURNEY THROUGH A DECADE
Saturday, October 22, 2022
Build Custom AWS Config rules using Guard DSL
›
I want to use AWS config to report S3 buckets without public blocking enabled except for some buckets with prefix like www, there is a AWS m...
Friday, February 1, 2019
Send Docker container log to Splunk
›
Docker engine has Splunk logging driver to send container logs to Splunk via HEC(http event collector. It is easy to setup, however it coul...
Wednesday, July 18, 2018
Python script to generate Ansible ini inventory file from csv file
›
Ansible in memory inventory file created by add_host is often used in AWS EC2 provisioning. Inventory file can be generated easily,however i...
Wednesday, July 11, 2018
Ansible - turn values in CSV file into list of dictonary
›
Ansible can load yaml values into Ansible variable easily, However I am still fan of plain CSV file, because it is easy to edit and has no s...
Thursday, October 30, 2014
Python script to run remote SSH commands with sudo permission
›
I created a Python script to run remote SSH command with sudo permission. Linux SSH command doesn’t support password as command option, you...
Friday, September 5, 2014
Build Puppet module to use Hiera lookup
›
Puppet can use Hiera to look up data. This helps you disentangle site-specific data from Puppet code, for easier code re-use and easier mana...
Thursday, March 13, 2014
Setup SAN Boot for RHEL 6.x using native multipath on EMC storage
›
Requirements: 1) RHEL 6.x (most apply to RHEL 5.x too, RHEL 5.x use mkinitrd instead of Dracut and the /etc/multipath.conf is slightly diff...
›
Home
View web version