ansible-best-practices icon indicating copy to clipboard operation
ansible-best-practices copied to clipboard

Improved apt-upgrade-update.yml

Open benjisho opened this issue 1 year ago • 0 comments

  1. The sudo directive is deprecated since Ansible 2.9, and it's recommended to use become instead.
  2. Also, it's a good practice to use Ansible's apt module instead of the shell command for apt operations.

benjisho avatar Apr 27 '23 23:04 benjisho