You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TASK [caktus.django-k8s : Create/update templates in Kubernetes] ***************
ok: [staging] => (item={'name': 'registry_secret.yaml.j2', 'state': 'absent'})
ok: [staging] => (item={'name': 'redis.yaml.j2', 'state': 'present'})
ok: [staging] => (item={'name': 'elasticsearch.yaml.j2', 'state': 'absent'})
ok: [staging] => (item={'name': 'memcached.yaml.j2', 'state': 'absent'})
fatal: [staging]: FAILED! =>
msg: |-
An unhandled exception occurred while running the lookup plugin 'template'. Error was a <class 'ansible.errors.AnsibleError'>, original message: template error while templating string: expected token 'end of statement block', got '+'. String: {#
Anywhere we need to inject a non-scalar value, we use to_json instead of to_yaml because it:
1) more reliably includes wrapping {}
2) behaves identically on Python 2 and Python 3
(and all JSON is valid YAML).
#}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: