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

  tasks:

  - name: "Get Virtual Media Instance information"
    inspur.sm.media_instance_info:
      provider: "{{ ism }}"