Include in ansible.cfg an entire directory as inventory path
Summary A senior engineer diagnosed an Ansible inventory parsing failure when moving from a shell-expanded command-line path (-i /Users/myuser/inventory/*.ini) to a static ansible.cfg configuration. The root cause was using a shell glob pattern (*.ini) inside the configuration file, which Ansible interprets literally rather than expanding. The fix is to use the directory path instead of … Read more