Rewrite CI provided apt sources to be http instead of https on bionic
Causes failure during LXC cache prep as the base image does not contain ca-certificates and fails to apt-update. Change-Id: I8db8e1d3f8a05b10848e189ca03a65de45354d7b
This commit is contained in:
@@ -24,6 +24,14 @@
|
||||
- name: Gather variables for each operating system
|
||||
include_vars: "{{ ansible_os_family | lower }}.yml"
|
||||
|
||||
- name: Switch apt source from https to http
|
||||
replace:
|
||||
path: /etc/apt/sources.list
|
||||
regexp: 'https'
|
||||
replace: "http"
|
||||
when:
|
||||
- ansible_distribution_release in ['bionic']
|
||||
|
||||
- name: Remove known problem distro packages
|
||||
package:
|
||||
name: "{{ gate_packages_remove }}"
|
||||
|
||||
Reference in New Issue
Block a user