Changeset - 08bb61e26c68
[Not reviewed]
0 1 0
Branko Majic (branko) - 5 months ago 2023-11-19 17:25:40
branko@majic.rs
MAR-181: Disable linting check for apt cache update that has to happen mid-run.
1 file changed with 6 insertions and 1 deletions:
0 comments (0 inline, 0 general)
roles/xmpp_server/tasks/main.yml
Show inline comments
 
@@ -13,7 +13,12 @@
 
    mode: 0644
 
  register: backports_repository_configuration
 

	
 
- name: Update apt cache if backports repository configuration changed (for immediate use)
 
- name: Update apt cache if backports repository configuration changed (for immediate use)  # noqa 503
 
  # [503] Tasks that run when changed should likely be handlers
 
  #   Since apt_repository module is not reliable (does not deploy
 
  #   change when changing distro version etc), we have to use
 
  #   template instead, but this also means we need to trigger the apt
 
  #   cache reload by hand.
 
  apt:
 
    update_cache: true
 
  when: backports_repository_configuration.changed
0 comments (0 inline, 0 general)