tenks/releasenotes/notes/fix-schedule-templating-05e4dcee8a1771b7.yaml
Mark Goddard 8df4a68fb1 Fix node scheduling with pipe in hostvars
If Ansible hostvars contain a pipe (|) character, this can cause
problems during scheduling as Ansible fails during Jinja templating.
This is probably a bug in Ansible/Jinja.

The particular case where this was hit was when using screen, the
TERMCAP environment variable gets set to something beginning with
'SC|screen|VT'.

This change addresses the issue by moving the capture of hostvars inside
the tenks_update_state action plugin rather than evaluating them in a
playbook.

Change-Id: Ibef91d9ef499c8741b61a170672a23f530a600bb
2020-03-20 10:59:30 +00:00

6 lines
117 B
YAML

---
fixes:
- |
Fixes an issue with node scheduling when Ansible hostvars contain a pipe
(``|``) character.