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

  tasks:

  - name: "delete user group"
    inspur.sm.del_user_group:
      name: "test"
      provider: "{{ ism }}"