blob: 49d8ad0d5ea59bb932ee4d2b0bc2e5d01dabd716 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
- name: hard disk test
hosts: ism
connection: local
gather_facts: no
vars:
ism:
host: "{{ ansible_ssh_host }}"
username: "{{ username }}"
password: "{{ password }}"
tasks:
- name: "get hard disk information"
inspur.sm.hard_disk_info:
provider: "{{ ism }}"
|