diff options
author | Michael Hanselmann <hansmi@vshn.ch> | 2017-10-04 12:10:02 +0200 |
---|---|---|
committer | Michael Hanselmann <hansmi@vshn.ch> | 2017-10-19 11:02:08 +0200 |
commit | b2df9cc2d5b16a1b1e59d77244e10762e48d72ed (patch) | |
tree | c1dec6e793ae553289f27c0fdbdc24484660ab12 /roles/etcd/tasks/backup.yml | |
parent | 64f452f9081e380db41acf588a28fe4bb79a4e9e (diff) | |
download | openshift-b2df9cc2d5b16a1b1e59d77244e10762e48d72ed.tar.gz openshift-b2df9cc2d5b16a1b1e59d77244e10762e48d72ed.tar.bz2 openshift-b2df9cc2d5b16a1b1e59d77244e10762e48d72ed.tar.xz openshift-b2df9cc2d5b16a1b1e59d77244e10762e48d72ed.zip |
Avoid undefined variable in master sysconfig template
When "openshift_master_controllers_env_vars" is set, but
"openshift_master_api_env_vars" isn't, the template for the sysconfig
file of atomic-openshift-master fails:
AnsibleUndefinedVariable: 'dict object' has no attribute 'api_env_vars'
Avoid this issue by applying "default({})" to the dict and always
calling ".items()".
Diffstat (limited to 'roles/etcd/tasks/backup.yml')
0 files changed, 0 insertions, 0 deletions