File: node-information.yaml

package info (click to toggle)
python-diskimage-builder 3.39.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,704 kB
  • sloc: sh: 7,474; python: 6,454; makefile: 37
file content (16 lines) | stat: -rw-r--r-- 492 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- hosts: all
  tasks:
  - name: Copy the cpu-level script into place
    copy:
      src: cpu-level.sh
      dest: /tmp/cpu-level.sh
      mode:
  - name: Collect CPU flags for node
    command:  bash /tmp/cpu-level.sh
    # NOTE(tonyb):  This is interesting as QEMU gains the ability to emuluate
    # newer machine types for example 7.2 is needed for haswell.
  - name: Collect QEMU version
    ignore_errors: true
    shell: |-
      qemu-kvm --version
      qemu-system-$(arch) --version