Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No package matching 'postfix_packages' is available #2

Open
SirTimmyTimbit opened this issue Nov 1, 2016 · 1 comment
Open

No package matching 'postfix_packages' is available #2

SirTimmyTimbit opened this issue Nov 1, 2016 · 1 comment

Comments

@SirTimmyTimbit
Copy link

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"}

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

@thomwiggers
Copy link
Contributor

This has been fixed by #1 a long time ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants