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
failed: [server1] (item=[u'postfix_packages']) => {"failed": true, "item": ["postfix_packages"], "msg": "No package matching 'postfix_packages' is available"}
Ansible 2.2.0.0 depreciation removal list:
with_ 'bare variable' handling, now loop items must always be templated {{ }} or they will be considered as plain strings.
skipping task on 'missing attribute' in loop variable, now in a loop an undefined attribute will return an error instead of skipping the task.
skipping on undefined variables in loop, now loops will have to define a variable or use |default to avoid errors.
Need to change
with_items: postfix_packages
to
with_items: "{{postfix_packages}}"
in /tasks/debian.yml
The text was updated successfully, but these errors were encountered:
Ansible 2.2.0.0
Executing this role gives this error:
failed: [server1] (item=[u'postfix_packages']) => {"failed": true, "item": ["postfix_packages"], "msg": "No package matching 'postfix_packages' is available"}
Need to change
with_items: postfix_packages
to
with_items: "{{postfix_packages}}"
in /tasks/debian.yml
The text was updated successfully, but these errors were encountered: