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

  tasks:

  - name: "get server status information"
    inspur.sm.server_info:
      provider: "{{ ism }}"