Update the apt cache after adding the repository.
This commit is contained in:
parent
842df33462
commit
8e8703b846
|
@ -30,6 +30,12 @@
|
|||
signed_by: "{{ cassandra_deb_repo_key }}"
|
||||
state: present
|
||||
enabled: true
|
||||
register: cassandra_repo
|
||||
- name: cassandra-repo | Update the apt cache
|
||||
ansible.builtin.apt:
|
||||
update_cache: yes
|
||||
when: cassandra_repo is changed
|
||||
|
||||
|
||||
- name: cassandra-repo | Manage the Cassandra repository on EL systems
|
||||
when:
|
||||
|
|
Loading…
Reference in New Issue