roles/nginx: Use 'present' instead of 'latest' to install nginx

Raised by the following rule in ansible-lint:

[ANSIBLE0010] Package installs should not use latest
This commit is contained in:
Alan Orth 2017-10-03 15:04:54 +03:00
parent 5281d41445
commit e86e2c081b
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -8,7 +8,7 @@
tags: nginx, packages
- name: Install nginx
apt: pkg=nginx update_cache=yes state=latest
apt: pkg=nginx update_cache=yes state=present
tags: nginx, packages
- name: Copy nginx.conf