- name: edit user password test
  hosts: ism
  connection: local
  gather_facts: no
  vars:
    ism:
      host: "{{ ansible_ssh_host }}"
      username: "{{ username }}"
      password: "{{ password }}"

  tasks:

  - name: "change user password"
    inspur.sm.edit_pass_user:
      uname: "wbs"
      upass: "admin1"
      provider: "{{ ism }}"