debops / ansible-lxc

Configure and manage LXC environment on a host
GNU General Public License v3.0
17 stars 10 forks source link

Fix error when admin in LXC containers is disabled #12

Closed drybjed closed 9 years ago

drybjed commented 9 years ago

When 'lxc_template_admin_name' was disabled by setting it as False, Ansible would emit an error about joining string and bool values. So instead, make sure that a string value is always present in 'lxc_template_admin_home'. It shouldn't ever be used, but just in case, make it a legit one, as well.

ganto commented 9 years ago

nice, thanks :-)