book-and-video-code-examples icon indicating copy to clipboard operation
book-and-video-code-examples copied to clipboard

fixed deprecation warning on apt

Open alt3red opened this issue 6 years ago • 0 comments

[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: ['python3-pip', 'python3-dev', 'fail2ban'] 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.

alt3red avatar Jul 03 '19 13:07 alt3red