tripleo-quickstart/roles/environment
Attila Darazs 456ca7480a Fix ansible-lint errors in all playbooks and roles
- add changed_when condition to each shell/command invocation
- set it to false when the command is just information gathering
- set it to true when it is a long, possibly not idempotent script
- add name to all tasks that were missing it
- use file module instead of rm/mkdir
- use command module where shell is not required

Change-Id: Iad378e80276426e047750d050ccd19d398f36162
2016-09-19 18:27:50 +02:00
..
meta move most things out from the playbooks dir, and use config for release info 2016-05-25 16:43:36 -04:00
setup Fix ansible-lint errors in all playbooks and roles 2016-09-19 18:27:50 +02:00
tasks Fix ansible-lint errors in all playbooks and roles 2016-09-19 18:27:50 +02:00
teardown Fix ansible-lint errors in all playbooks and roles 2016-09-19 18:27:50 +02:00
vars move most things out from the playbooks dir, and use config for release info 2016-05-25 16:43:36 -04:00
README.md move most things out from the playbooks dir, and use config for release info 2016-05-25 16:43:36 -04:00

README.md

Configure libvirt environment

The environment/setup role will:

  • Install libvirt and any dependencies
  • Configure and load the kvm module (and arch-specific kvm_intel or kvm_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.