diff --git a/branding/tasks/main.yml b/branding/tasks/main.yml index a532d3f3b3871c5fcce5cb71f56ceb4c417950ee..9ac580136e969e73047695a543b28b7728ed79f8 100644 --- a/branding/tasks/main.yml +++ b/branding/tasks/main.yml @@ -66,6 +66,18 @@ - branding - repos +- name: ensure apt https transport is available + apt: + name: apt-transport-https + state: installed + with_items: "{{ branding_apt_repos }}" + when: + - branding_apt_repos is defined + - item|truncate(5, True, '') == "https" + tags: + - branding + - repos + - name: ensure configuration of apt repositories apt_repository: repo: 'deb [arch=amd64] {{ item }}'