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

  tasks:

  - name: get user information
    inspur.sm.user_info:
      provider: "{{ ism }}"