Ansible-galaxy roles install throws “List index out of range”
1 min readJul 8, 2020
This is an annoyingly badly printed error message. It just means that the directory you are trying to install to isn’t accessible to ansible-galaxy. You should be able to fix it by using one (or more, as the case may be) of the following:
-p, --roles-path
to specify where your roles should install to,- Edit ansible.cfg for the default roles location,
chown -R you:you /your/role/directory