3d02514778
This normalizes the formatting of files from playbooks and roles folders in order to allow further hardening of linting. Fixing linting was too big to be made in a single commit as it would involve too many files to review and could merge conflicts with existing changes. Thus doing it in few chunks would makes it possible. Original full change is at https://review.openstack.org/#/c/627545/ and will be the one merging the last. Change-Id: I73abb9ea78b8bea8d73eb95c52daacdb45f407b8 |
||
---|---|---|
.. | ||
meta | ||
setup | ||
tasks | ||
teardown | ||
vars | ||
README.md |
README.md
Configure libvirt environment
The environment/setup
role will:
- Install libvirt and any dependencies
- Configure and load the
kvm
module (and arch-specifickvm_intel
orkvm_amd
module) - Configure the libvirt networks defined in the
networks
variable - Whitelist the libvirt network bridges in
/etc/qemu/bridge.conf
(or equivalent file)
The environment/teardown
role will:
- Remove whitelist entries from
/etc/qemu/bridge.conf
- Destroy and undefine the libvirt networks
The cleanup
role will not remote packages or attempt to undo the
KVM configuration, because these things may have been configured
prior to running the script and we do not want to break an existing
environment.