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>
This commit is contained in:
Paul Belanger 2018-03-16 22:00:36 -04:00
parent f434c30054
commit f2b3780c8d
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
1 changed files with 3 additions and 0 deletions

View File

@ -162,3 +162,6 @@ lxc_container_veth_wiring: false
# Enable systemd-resolved
lxc_container_enable_resolved: true
# Dictionary of settings for containers
properties: {}