summaryrefslogtreecommitdiffstats
path: root/ansible_collections/inspur/sm/playbooks/modules/examples-edit_user_group.yml
blob: d16e2de45a409d30c3fd170d2ab59dbdd0781267 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- name: set user group test
  hosts: ism
  connection: local
  gather_facts: no
  vars:
    ism:
      host: "{{ ansible_ssh_host }}"
      username: "{{ username }}"
      password: "{{ password }}"

  tasks:

  - name: "set user group"
    inspur.sm.edit_user_group:
      name: "test"
      pri: "administrator"
      provider: "{{ ism }}"