basho-labs / ansible-riak

Ansible roles for Riak
Other
33 stars 32 forks source link

Error deploying Riak KV with Ansible 2.2.2.0 inventory having group named `riak` #79

Closed lucafavatella closed 7 years ago

lucafavatella commented 7 years ago

ansible-riak defaults riak_shell_group to 'riak'. Apparently Ansible 2.2.2.0 changed somehow evaluation of conditionals and/or dict lookup compared to 2.2.1.0 - see #78. Therefore users with an Ansible inventory with a host group named riak experiences error in dict lookup.

Workaround as a user is changing default riak_shell_group when using ansible-riak e.g. { role: ansible-riak, riak_shell_group: }.

Proper fix would either:

christophermancini commented 7 years ago

Thanks @lucafavatella