Skip to content

Commit

Permalink
chore(apt): explicitly set state and update cache
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNabokikh committed May 25, 2023
1 parent 57d865a commit 79544a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/apt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
become: true
ansible.builtin.apt_repository:
repo: "{{ item }}"
state: present
update_cache: true
loop: "{{ apt_repositories }}"
when:
- apt_repositories is defined
Expand Down

0 comments on commit 79544a1

Please sign in to comment.