Changeset - 16eaeca46aa3
[Not reviewed]
0 1 0
Branko Majic (branko) - 4 years ago 2020-01-07 16:09:53
branko@majic.rs
MAR-148: Explicitly run apticron once after the installation to avoid lock-ups if it kicks in during Ansible playbook run.
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
roles/common/tasks/main.yml
Show inline comments
 
@@ -275,6 +275,11 @@
 
    name: apticron
 
    state: present
 

	
 
# It would be too much hassle to detect changed state, so just ignore it.
 
- name: Preventively run apticron to avoid issues with locking
 
  command: /usr/sbin/apticron --cron
 
  changed_when: false
 

	
 
# Implementation for checking pip requirements files via via pip-tools.
 
- name: Install packages required for running pip requirements checks
 
  apt:
0 comments (0 inline, 0 general)