]> arthur.barton.de Git - AnsibleRoles.git/commitdiff
apt-date: Ignore errors while updating repositories
authorAlexander Barton <alexander.barton@thomas-daily.de>
Mon, 8 Apr 2019 12:45:57 +0000 (14:45 +0200)
committerAlexander Barton <alexander.barton@thomas-daily.de>
Mon, 8 Apr 2019 12:45:57 +0000 (14:45 +0200)
This makes sense, because probably later tasks will update the APT
configuration anyway: for example for inhouse-setups, some proxy servers
etc. must be setup first ...

roles/apt-base/tasks/main.yml

index 2a6d52366e00ecde9e8dfe4e5c4fab2af934ae5c..3da3e474f1a4f3023293a39ab43682563e30c996 100644 (file)
@@ -43,6 +43,7 @@
     update_cache=yes
     cache_valid_time=3600
   changed_when: false
+  ignore_errors: yes
 
 - name: configure debconf(1) frontend
   tags: