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

Invoking "apt" only once while using a loop via squash_actions is deprecated #7

Closed
dpoposki opened this issue Feb 7, 2019 · 2 comments
Labels

Comments

@dpoposki
Copy link

dpoposki commented Feb 7, 2019

[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via squash_actions is
deprecated. Instead of using a loop to supply multiple items and specifying name: "{{ item }}",
please use name: ['samba', 'samba-common', 'python-glade2', 'system-config-samba'] and remove the
loop. This feature will be removed in version 2.11. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.

I am going to fix this by extracting the packages to a variable in its respective OS family file (Debian).
We can probably merge the two tasks for Debian and RedHat by extracting both to a variable and then using the generic package, but I am not in a position to test the RedHat changes.

@stale
Copy link

stale bot commented Mar 6, 2020

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@stale stale bot added the stale label Mar 6, 2020
@stale
Copy link

stale bot commented Apr 5, 2020

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

@stale stale bot closed this as completed Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant