blob: 9d6beb75990ee05c72cc871ecfc8318cc03cf037 [file] [log] [blame]
Jude Cross986e3f52017-07-24 14:57:20 -07001- hosts: all
2 name: Octavia DSVM jobs pre-run playbook
3 tasks:
4 - shell:
Michael Johnsonb5690472018-09-05 09:20:39 -07005 executable: /bin/bash
Jude Cross986e3f52017-07-24 14:57:20 -07006 cmd: |
7 set -e
8 set -x
Michael Johnsoncafb6062018-09-06 12:33:26 -07009 if $(egrep --quiet '(vmx|svm)' /proc/cpuinfo) && [[ ( ! $(hostname) =~ "ovh" && ! $(hostname) =~ "limestone" ) ]]; then
Jude Cross986e3f52017-07-24 14:57:20 -070010 export DEVSTACK_GATE_LIBVIRT_TYPE=kvm
11 fi
12