- name: Edit pdisk test hosts: ism connection: local gather_facts: no vars: ism: host: "{{ ansible_ssh_host }}" username: "{{ username }}" password: "{{ password }}" tasks: - name: "Show pdisk information" inspur.sm.edit_pdisk: info: "show" provider: "{{ ism }}" - name: "Edit pdisk" inspur.sm.edit_pdisk: ctrl_id: 0 device_id: 1 option: "LOC" provider: "{{ ism }}"