tripleo-quickstart/roles/environment
Sorin Sbarnea 328fb437b1
Fix Ansible Using tests as filters is deprecated
Avoids deprecation warnings like below by adopting recommended syntax.

[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of
using `result|failed` instead use `result is failed`. This feature will
be removed in version 2.9. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.

Change-Id: I84a630415d5aee653e07de0da9321f2fa59eee24
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
2018-07-17 14:55:57 +01:00
..
meta Add blank newline at the end of file 2017-03-27 10:40:32 +02:00
setup remove dstat from the virthost 2018-03-30 12:50:31 -04:00
tasks Add blank newline at the end of file 2017-03-27 10:40:32 +02:00
teardown Fix Ansible Using tests as filters is deprecated 2018-07-17 14:55:57 +01:00
vars Add blank newline at the end of file 2017-03-27 10:40:32 +02: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.