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
Previously working multiline tasks stopped working
Steps To Reproduce:
In a play:
- name: Set timezone variables
copy: |
content='America/New_York
'
dest=/tmp/timezone
Expected Results:
timezone file gets updated
Actual Results:
failed: [localhost] => {"failed": true}
msg: src (or content) and dest are required
FATAL: all hosts have already failed -- Aborting
changing the | to a > makes it work again, but this code had been working for a looong time (I'll run bisect when i have time to see what caused the issue)
The text was updated successfully, but these errors were encountered:
Please don't bother with the bisect, various parser changes have been required for security fixes. It seems the ">" is the proper answer but we can explore this one.
mpdehaan
changed the title
multiline modules issues
multiline modules issue with "|" and ">" and newline preservation
Aug 2, 2014
Issue Type:
Bug Report
Ansible Version:
ansible 1.7 (devel c93b89f)
Environment:
Ubuntu 12.04, 14.04
Summary:
Previously working multiline tasks stopped working
Steps To Reproduce:
In a play:
Expected Results:
timezone file gets updated
Actual Results:
changing the | to a > makes it work again, but this code had been working for a looong time (I'll run bisect when i have time to see what caused the issue)
The text was updated successfully, but these errors were encountered: