Skip to content

Keyspace permissions example wrong in cassandra_role #294

@discostur

Description

@discostur

https://galaxy.ansible.com/ui/repo/published/community/cassandra/content/module/cassandra_role/

- name: Create a user with specific permissions for specific keyspaces
  community.cassandra.cassandra_role:
    name: rhys
    password: 'secret'
    update_password: true
    state: present
    login: yes
    permissions:
      mykeyspace:
        - "ALL PERMISSIONS" # Same as GRANT ALL PERMISSIONS ON mykeyspace TO rhys;
      mydummy:
        - "SELECT"
        - "EXECUTE" # Same as GRANT SELECT, EXECUTE ON mydummy TO rhys;
      all_keyspaces:
        - "SELECT" # Same as GRANT SELECT ON ALL KEYSPACES TO rhys;

It has to be keyspace_permissions and not permissions.

Metadata

Metadata

Assignees

Labels

bugThis issue/PR relates to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions