Avoid linter error OSA0002 when updating apt cache

Change-Id: Iff331bad7723a798921bce117797801194f7311c
This commit is contained in:
Jonathan Rosser 2021-01-14 07:31:24 +00:00
parent 2b7b2ada9f
commit df4260f612
1 changed files with 2 additions and 1 deletions

View File

@ -24,8 +24,8 @@
- name: Setup qpid ppa repository
apt_repository:
repo: "{{ qdrouterd_ppa_repo }}"
update_cache: True
codename: "{{ ansible_distribution_release }}"
update_cache: False
state: present
tags:
- qdrouterd-rep
@ -34,6 +34,7 @@
apt:
name: "{{ qdrouterd_distro_packages }}"
state: "{{ qdrouterd_package_state }}"
update_cache: True
register: install_qdrouterd
tags:
- qdrouterd-apt-packages