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:
Alan Orth 2014-12-02 18:48:11 +03:00
parent 1073b8e1b6
commit d04293a664
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

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