book-and-video-code-examples
book-and-video-code-examples copied to clipboard
fixed deprecation warning on apt
[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.