summaryrefslogtreecommitdiffstats
path: root/ansible_collections/inspur/sm/playbooks/modules/examples-add_user_group.yml
blob: 58d3f61e9539634d77b451a9e669ca8dd26d0d08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- 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 }}"