ansible / ansible.builtin / v2.9.4 / module / purefb_dsrole Configure FlashBlade Management Directory Service Roles | "added in version" 2.8 of ansible.builtin" Authors: Pure Storage Ansible Team (@sdodsley) <pure-ansible-team@purestorage.com> preview | supported by communityansible.builtin.purefb_dsrole (v2.9.4) — module
pip
Install with pip install ansible==2.9.4
Set or erase directory services role configurations.
- name: Delete existing array_admin directory service role purefb_dsrole: role: array_admin state: absent fb_url: 10.10.10.2 api_token: e31060a7-21fc-e277-6240-25983c6c4592
- name: Create array_admin directory service role purefb_dsrole: role: array_admin group_base: "OU=PureGroups,OU=SANManagers" group: pureadmins fb_url: 10.10.10.2 api_token: e31060a7-21fc-e277-6240-25983c6c4592
- name: Update ops_admin directory service role purefb_dsrole: role: ops_admin group_base: "OU=PureGroups" group: opsgroup fb_url: 10.10.10.2 api_token: e31060a7-21fc-e277-6240-25983c6c4592
role: choices: - array_admin - ops_admin - readonly - storage_admin description: - The directory service role to work on type: str group: description: - Sets the common Name (CN) of the configured directory service group containing users for the FlashBlade. This name should be just the Common Name of the group without the CN= specifier. - Common Names should not exceed 64 characters in length. type: str state: choices: - absent - present default: present description: - Create or delete directory service role type: str fb_url: description: - FlashBlade management IP address or Hostname. type: str api_token: description: - FlashBlade API token for admin privileged user. type: str group_base: description: - Specifies where the configured group is located in the directory tree. This field consists of Organizational Units (OUs) that combine with the base DN attribute and the configured group CNs to complete the full Distinguished Name of the groups. The group base should specify OU= for each OU and multiple OUs should be separated by commas. The order of OUs is important and should get larger in scope from left to right. - Each OU should not exceed 64 characters in length. type: str