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

This is my working example of Ansible best practices

Results 3 ansible-best-practices issues
Sort by recently updated
recently updated
newest added

According to https://docs.ansible.com/ansible/2.3/intro_configuration.html#hostfile hostfile is a deprecated setting since 1.9 and suggests to use inventory instead for newer versions.

Is there anything that needs to be updated under today's Ansible?

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...