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:
2014-12-02 18:48:11 +03:00
parent 1073b8e1b6
commit d04293a664

View File

@ -8,7 +8,7 @@
tags: nginx
- name: Install nginx
apt: pkg=nginx update_cache=yes
apt: pkg=nginx update_cache=yes state=latest
tags: nginx
- name: Copy nginx config