inspur.sm.add_user_group – Create user group.¶
Note
This plugin is part of the inspur.sm collection.
To install it use: ansible-galaxy collection install inspur.sm
.
To use it in a playbook, specify: inspur.sm.add_user_group
.
New in version 0.1.0: of inspur.sm
DEPRECATED¶
- Removed in
version 3.0.0
- Why
Merge functions into the inspur.sm.user_group module.
- Alternative
Use inspur.sm.user_group instead.
Parameters¶
Examples¶
- name: Add user group test
hosts: ism
connection: local
gather_facts: no
vars:
ism:
host: "{{ ansible_ssh_host }}"
username: "{{ username }}"
password: "{{ password }}"
tasks:
- name: "Add user group"
inspur.sm.add_user_group:
name: "test"
pri: "administrator"
provider: "{{ ism }}"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Status¶
This module will be removed in version 3.0.0. [deprecated]
For more information see DEPRECATED.
Authors¶
WangBaoshan (@ISIB-group)