Deep dive into the Ansible module stat of the collection "ansible.builtin" to test if a specified path is a directory and print a message. Live demo and Ansible playbook included.
https://www.ansiblepilot.com/articles/check-if-a-directory-exists-ansible-module-stat/
Comments