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

  tasks:

  - name: "Get onboard disks information"
    inspur.sm.onboard_disk_info:
      provider: "{{ ism }}"