Fix 'properties' is undefined errors

When following the example playbook for the role, it is possible for
properties undefined to be raise. Because default() filters don't work
with undefined dictionary keys, ensure a default dictionary for
properties exists.

Change-Id: Iee2e992efe8ee801506e5de622bd90ac3915a33c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
(cherry picked from commit f2b3780c8d)
This commit is contained in:
Paul Belanger 2018-03-16 22:00:36 -04:00 committed by Kevin Carter
parent 3d1e70d1be
commit ecc003357c
No known key found for this signature in database
GPG Key ID: 9443251A787B9FB3
1 changed files with 3 additions and 0 deletions

View File

@ -152,3 +152,6 @@ lxc_container_fixed_mac: false
# Enable destroying then recreating containers
lxc_container_recreate: false
# Dictionary of settings for containers
properties: {}