Update the apt cache when the repo changes.
This commit is contained in:
parent
eaeeb5be5a
commit
b8be7778e8
|
@ -30,6 +30,11 @@
|
|||
signed_by: "{{ postgresql_deb_repo_key }}"
|
||||
state: present
|
||||
enabled: true
|
||||
register: postgresql_org_repo
|
||||
- name: postgresql_org_repo | Update the apt cache
|
||||
ansible.builtin.apt:
|
||||
update_cache: yes
|
||||
when: postgresql_org_repo is changed
|
||||
|
||||
- name: postgresql_org_repo | Manage the EL repository
|
||||
when:
|
||||
|
|
Loading…
Reference in New Issue