ansible / ansible.builtin / v2.5.11 / module / vertica_role Adds or removes Vertica database roles and assigns roles to them. | "added in version" 2.0 of ansible.builtin" Authors: Dariusz Owczarek (@dareko) preview | supported by communityansible.builtin.vertica_role (v2.5.11) — module
pip
Install with pip install ansible==2.5.11
Adds or removes Vertica database role and, optionally, assign other roles.
- name: creating a new vertica role vertica_role: name=role_name db=db_name state=present
- name: creating a new vertica role with other role assigned vertica_role: name=role_name assigned_role=other_role_name state=present
db: default: null description: - Name of the Vertica database. required: false name: description: - Name of the role to add or remove. required: true port: default: 5433 description: - Vertica cluster port to connect to. required: false state: choices: - present - absent default: present description: - Whether to create C(present), drop C(absent) or lock C(locked) a role. required: false cluster: default: localhost description: - Name of the Vertica cluster. required: false login_user: default: dbadmin description: - The username used to authenticate with. required: false assigned_roles: aliases: - assigned_role default: null description: - Comma separated list of roles to assign to the role. required: false login_password: default: null description: - The password used to authenticate with. required: false