Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into gerlando-agent-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
iurly committed Apr 17, 2024
2 parents c4080f7 + d581653 commit c618a61
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions molecule/resources/playbooks/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@

- name: Prepare Debian hosts
block:
- name: Work around buster-backports (debian 10)
ansible.builtin.replace:
path: /etc/apt/sources.list
regexp: '(^.*http://).*(\.debian\.org.*buster-backports.*$)'
replace: '\1archive\2'
when: ansible_distribution_major_version == "10"

- name: Update apt cache
ansible.builtin.apt:
update_cache: true
Expand Down

0 comments on commit c618a61

Please sign in to comment.