
This PS removes privilege escalation from the roles so that these roles can be used in a developer environment Change-Id: I44ddc18532ee75b0d398896d470ecf949ad4496a
31 lines
742 B
YAML
31 lines
742 B
YAML
- hosts: primary
|
|
roles:
|
|
- role: libvirt-domain
|
|
vars:
|
|
libvirt_domain:
|
|
state: running
|
|
name: 'vm1'
|
|
memory_mb: 512
|
|
vcpus: 1
|
|
volumes:
|
|
- name: 'volume-1'
|
|
device: 'disk'
|
|
format: 'qcow2'
|
|
pool: 'airship'
|
|
interfaces:
|
|
- network: 'provision-network'
|
|
- role: libvirt-domain
|
|
vars:
|
|
libvirt_domain:
|
|
state: running
|
|
name: 'vm2'
|
|
memory_mb: 512
|
|
vcpus: 1
|
|
volumes:
|
|
- name: 'volume-2'
|
|
device: 'disk'
|
|
format: 'qcow2'
|
|
pool: 'airship'
|
|
interfaces:
|
|
- network: 'provision-network'
|