ansible-best-practices
ansible-best-practices copied to clipboard
Improved apt-upgrade-update.yml
- The sudo directive is deprecated since Ansible 2.9, and it's recommended to use become instead.
- Also, it's a good practice to use Ansible's apt module instead of the shell command for apt operations.