To fix I moved the 'when: riak_bucket_types is defined' to main.yml. This seems to fix the issue and from what I can tell the buckets.yml should really only be called when there are buckets defined.
This should be resolved with the creation of empty data structures in the defaults vars which I completed in #61. Let me know if you continue to experience issues.
To fix I moved the 'when: riak_bucket_types is defined' to main.yml. This seems to fix the issue and from what I can tell the buckets.yml should really only be called when there are buckets defined.