Ansible Practical Guide [Basic Edition] 4th Edition Reading Notes

Apparently I studied Ansible in 2016 1, but I completely forgot, so I read Ansible Practical Guide 4th Edition [Basic Edition] again. I’ll note down what caught my attention. Playbook Hierarchy One Playbook consists of several Plays. A Play consists of four sections: Targets, Vars, Tasks, and Handlers. Targets and Tasks are basic sections, used to specify target hosts and a list of tasks to execute, respectively. Vars and Handlers are auxiliary sections, used to specify variables and execution control (for example, restarting systemd services), respectively....

December 1, 2023

Ansible Notes

Recently, I started using Ansible. Just when an Ansible guide book “Ansible Perfect Guide” was available on Kindle Unlimited, so I read it. Omitting installation methods and usage, I’ll just note down points that might be tricky in the future. Configuration files are written in YAML format. When handling arrays and associative arrays, basically write one element per line. Arrays have - as prefix, and associative arrays have key: , followed by elements....

December 12, 2016