I’ve been trying to setup group_vars in Ansible. My /group_vars/all file looked like;
When I ran my playbook it said:
Ansible error "fatal: ...... must be stored as a dictionary/hash"
It would have been helpful if it had provided a better error message. Anyhow, basically, I had got the syntax wrong in group vars by putting “quotes” around the value:
Hope this helps someone.