Don't do updates in playbooks (for a number of reasons).

1. We want all playbooks to be idempotent. If we add things like this
it means the playbook will change every single time we run it.

2. Things like this mean that if we need to change one config or
something to get the service working we may have to wait a long time
for it to apply tons of pending updates, which may break more things.

3. On all Fedora machines (that have base role anyhow) we already run
dnf-automatic to apply all security updates. We could expand that to
apply all updates if you like. Doing them daily is much better for
finding regressions

4. We expect updates are applied normally by dnf-automatic or by
sysadmins so we can know whats in the updates and be ready for issues
or restarting things.
This commit is contained in:
Kevin Fenzi 2016-03-30 14:57:54 +00:00
parent edafebe7dc
commit ef8a705432
3 changed files with 0 additions and 9 deletions

View file

@ -24,9 +24,6 @@
- python-futures # remove when new version of copr-backend will be released
- logstash
- name: upgrade all packages
dnf: name=* state=latest
- name: make copr dirs
file: state=directory path={{ item }}
with_items:

View file

@ -13,9 +13,6 @@
- copr-dist-git
- rdiff-backup
- name: upgrade all packages
yum: name=* state=latest
- name: ensure git storage path exists
file: path="/var/lib/dist-git/git" state=directory group=packager mode=0775
#- file: path="/var/lib/dist-git/git/pkgs-git-repos-list" state=file group=packager

View file

@ -25,9 +25,6 @@
tags:
- packages
- name: upgrade all packages
dnf: name=* state=latest
- name: install copr configs
template: src="copr.conf" dest=/etc/copr/copr.conf mode=600
notify: