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

Deprecation warnings with Ansible 2.9.6 #5

Open
aareet opened this issue Apr 14, 2020 · 0 comments
Open

Deprecation warnings with Ansible 2.9.6 #5

aareet opened this issue Apr 14, 2020 · 0 comments

Comments

@aareet
Copy link
Contributor

aareet commented Apr 14, 2020

Thank you for creating and open sourcing this code! I want to report some deprecation warnings I noticed in the traceback.

Using Ansible 2.9.6 throws a few deprecation warnings:

TASK [INSTALL PIP PACKAGES] ****************************************************
[DEPRECATION WARNING]: Invoking "pip" 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: ['requests',
'virtualenv', 'virtualenvwrapper']` 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.
TASK [INSTALL APT PACKAGES] ****************************************************
[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: ['software-properties-
common', 'git', 'tree', 'traceroute', 'python-dev', 'python-pip', 'python3',
'python3-pip', 'libxml2-dev', 'libxslt1-dev', 'zlib1g-dev', 'vim', 'libssl-
dev', 'libffi-dev', 'fonts-inconsolata', 'python-setuptools', 'libxml2-utils',
'xsltproc', 'ant', 'default-jdk']` 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.
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

1 participant