roles/nginx: Set nginx state to 'latest' in apt
This way we can upgrade nginx simply by running the nginx tags. Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
1073b8e1b6
commit
d04293a664
@ -8,7 +8,7 @@
|
|||||||
tags: nginx
|
tags: nginx
|
||||||
|
|
||||||
- name: Install nginx
|
- name: Install nginx
|
||||||
apt: pkg=nginx update_cache=yes
|
apt: pkg=nginx update_cache=yes state=latest
|
||||||
tags: nginx
|
tags: nginx
|
||||||
|
|
||||||
- name: Copy nginx config
|
- name: Copy nginx config
|
||||||
|
Loading…
Reference in New Issue
Block a user