lets use state=latest everywhere for apt cmds.

This commit is contained in:
staticsafe 2014-05-07 22:01:54 +00:00
parent 4af8ce419d
commit f04995897b
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
- restart rsyslog
- restart cron
- name: Install required packages
apt: pkg={{ item }} state=present
apt: pkg={{ item }} state=latest
with_items:
- most
- zsh

View File

@ -4,7 +4,7 @@
- name: Add nginx upstream repository
apt_repository: repo='deb http://nginx.org/packages/debian/ wheezy nginx' state=present update_cache=yes
- name: Install nginx package
apt: pkg=nginx state=present
apt: pkg=nginx state=latest
- name: Stop nginx for now and also make it start on boot
service: name=nginx state=stopped enabled=yes
- name: Make nginx related dirs