Skip to content

Instantly share code, notes, and snippets.

@larsks
Created February 19, 2016 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larsks/e02ca28982d1daacfa5d to your computer and use it in GitHub Desktop.
Save larsks/e02ca28982d1daacfa5d to your computer and use it in GitHub Desktop.
- hosts: virthost
roles:
- role: libvirt/teardown
- role: libvirt/setup
- hosts: localhost
roles:
- rebuild-inventory
- hosts: undercloud
roles:
- overcloud
[virthost]
my.target.host ansible_user=targetuser
extra_args: >-
--control-scale 3
-e /usr/share/openstack-tripleo-heat-templates/environments/puppet-pacemaker.yaml
--ntp-server pool.ntp.org
baremetal_vm_xml: |
<cpu mode='host-passthrough'/>
libvirt_args: --libvirt-type kvm
# Set these to values appropriate for your target system. You
# by default get three controllers, one compute node, and
# one ceph node (so this example has a memory footprint of
# 32GB, which is probably too much for a host with only
# 32GB of RAM).
control_memory: 8192
compute_memory: 4096
ceph_memory: 4096
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment