lets use state=latest everywhere for apt cmds.
This commit is contained in:
parent
4af8ce419d
commit
f04995897b
2
debian/roles/common/tasks/main.yml
vendored
2
debian/roles/common/tasks/main.yml
vendored
@ -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
|
||||
|
2
debian/roles/webservers-nginx/tasks/main.yml
vendored
2
debian/roles/webservers-nginx/tasks/main.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user