Jimmy McCrory 158d035b92 Make corrections to LXC bridge template file
This change adjusts a few of the modifications made to the
lxc-net-bridge.cfg.j2 template file in change
I3c8225124a5f18db81259e1d52d0168ef52c3c17.

The minus signs have been removed from if and endif blocks so that
whitespace is kept intact between sections. The ordering of post-up and
post-down commands has also been changed so that iptables rules are
created before the dnsmasq service is started, as they were previously.

The default value of lxc_net_gateway has also been changed to null so
that it's evaluated as expected. Its current value, none, is evaluated
as a string.

A test has been added to compare the contents of the deployed lxc bridge
interface file with its expected contents.

Change-Id: I39d7b3f40de6ac691550c11d71bb6a182b3452f4
2016-03-05 11:41:31 -08:00
2015-12-09 09:17:00 -06:00
2015-11-03 04:22:57 -06:00
2015-11-03 04:22:57 -06:00
2015-11-03 04:22:57 -06:00
2015-11-03 04:22:57 -06:00
2015-12-09 09:17:00 -06:00
2015-11-03 04:22:57 -06:00

OpenStack LXC host setup

tags

openstack, lxc, host, cloud, ansible

category

*nix

Role for deployment and setup of an LXC host.

- name: Basic lxc host setup
  hosts: "hosts"
  user: root
  roles:
    - { role: "lxc_hosts", tags: [ "lxc-host", "host-setup" ] }
Description
Role lxc_hosts for OpenStack-Ansible
Readme 9.7 MiB
Languages
Jinja 61.6%
Python 22.9%
Shell 15.3%
Roff 0.2%