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:
parent
5281d41445
commit
e86e2c081b
@ -8,7 +8,7 @@
|
|||||||
tags: nginx, packages
|
tags: nginx, packages
|
||||||
|
|
||||||
- name: Install nginx
|
- name: Install nginx
|
||||||
apt: pkg=nginx update_cache=yes state=latest
|
apt: pkg=nginx update_cache=yes state=present
|
||||||
tags: nginx, packages
|
tags: nginx, packages
|
||||||
|
|
||||||
- name: Copy nginx.conf
|
- name: Copy nginx.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user