Terraforming my Droplet

No more manual config I want to run my droplet with my blog and all my games and silly one-off web apps without ever touching it manually. This would allow me to destroy and rebuild it on a whim, using config as code, CI/CD, etc.. I recently messed around with user access and locked myself out of my droplet. Around the same time, my draft blog stopped updating properly. The update failure is likely a file ownership problem....

January 18, 2020

Mucking About With Ansible  [draft]

Repo https://gitlab.com/modle13/ansible-test no cows set nocows=1 because cows are annoying inventory https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html example 1 2 3 cat inventory/myhost [myhosts] localhost ansible_connection=local config https://docs.ansible.com/ansible/latest/reference_appendices/config.html#ansible-configuration-settings-locations Changes can be made and used in a configuration file which will be searched for in the following order: 1 2 3 4 ANSIBLE_CONFIG (environment variable if set) ansible.cfg (in the current directory) ~/.ansible.cfg (in the home directory) /etc/ansible/ansible.cfg Ansible will process the above list and use the first file found, all others are ignored....

November 19, 2018