A quick video on how to build some useful roles in ansible using the ansible docs. GitHub Repos for roles: https://github.com/Josh-Tracy/Ansible... Inventory_hostname is an ansible "magic variable" that uses the hostname defined in the host inventory. ansible_facts are gathered when ansible "gathers facts: module docs: hostname - https://docs.ansible.com/ansible/late... lineinfile - https://docs.ansible.com/ansible/late... firewalld - https://docs.ansible.com/ansible/late... service - https://docs.ansible.com/ansible/late... yum - https://docs.ansible.com/ansible/late... template - https://docs.ansible.com/ansible/late... Ansible gather_facts variables: https://docs.ansible.com/ansible/late... ASCII Art Caterpie: https://www.asciiart.eu/video-games/p...