git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Pfeiffer <harald.pfeiffer _ bechtle.com> 2019-09-09 08:58:49 +0200
committerHarald Pfeiffer <harald.pfeiffer _ bechtle.com> 2019-09-09 08:58:49 +0200
commit86fae36209a906c3a4160cedaa517a9d6953c2a4 (patch)
tree0e14589f319ca8851fe6eb54e905d4fd7ab5058f
parentb29134889f935bab06c76e3d0db4000f318d8997 (diff)
downloadansible-86fae36209a906c3a4160cedaa517a9d6953c2a4.tar.bz2
adding acng update since, well, we have a cacher running
-rw-r--r--apt-upgrade.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/apt-upgrade.yml b/apt-upgrade.yml
index 97e44c2..33ba840 100644
--- a/apt-upgrade.yml
+++ b/apt-upgrade.yml
@@ -1,4 +1,4 @@
-- hosts: lirion
+- hosts: lirion_virt
# This will upgrade a Debian system. Steps:
# 1. Check rkhunter status, abandon ship if something is wrong. Skip if no rkhunter
# 2. Stop gitlab if existing
@@ -21,6 +21,12 @@
# incompetence with incompetence, so this feels sufficient. Later versions may
# or may not include adequate variable handling (like host.gitlabshutdown or whatever)
tasks:
+ - name: Update apt cache on apt-cacher
+ apt:
+ update_cache: yes
+ become: true
+ delegate_to: acng
+ tasks:
- name: Update apt cache
apt:
update_cache: yes