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

  tasks:

  - name: "get cpu information"
    inspur.sm.cpu_info:
      provider: "{{ ism }}"