Commit 0152c33b authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

playbook: actually Debian 10 doesn't support https URL

fixup of b68b3f17
parent 930f2bba
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
- name: Force HTTP repository for old debian versions without HTTPS support - name: Force HTTP repository for old debian versions without HTTPS support
set_fact: set_fact:
base_open_build_url: "{{ base_open_build_url_http }}" base_open_build_url: "{{ base_open_build_url_http }}"
when: (ansible_distribution == "Debian" and ansible_distribution_major_version|int < 10) or when: (ansible_distribution == "Debian" and ansible_distribution_major_version|int < 11) or
(ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int < 18) (ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int < 18)
- name: Remove {{ base_open_build_url }} key (and add later) on every upgrade, as expiration date is quite short (2 months). - name: Remove {{ base_open_build_url }} key (and add later) on every upgrade, as expiration date is quite short (2 months).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment