Commit b49b8936 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

playbook: update ubuntu repositories

parent be97ddf0
...@@ -66,14 +66,6 @@ ...@@ -66,14 +66,6 @@
apt_repository: repo='deb {{ base_open_build_url }}/xUbuntu_14.04/ ./' state=present apt_repository: repo='deb {{ base_open_build_url }}/xUbuntu_14.04/ ./' state=present
when: ansible_distribution == "Linuxmint" and ansible_distribution_version == "17.2" when: ansible_distribution == "Linuxmint" and ansible_distribution_version == "17.2"
- name: Install Ubuntu 15.04 repository key
apt_key: url={{ base_open_build_url }}/xUbuntu_15.04/Release.key state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "15.04"
- name: Install Ubuntu 15.04 repository
apt_repository: repo='deb {{ base_open_build_url }}/xUbuntu_15.04/ ./' state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "15.04"
- name: Install Ubuntu 16.04 repository key - name: Install Ubuntu 16.04 repository key
apt_key: url={{ base_open_build_url }}/xUbuntu_16.04/Release.key state=present apt_key: url={{ base_open_build_url }}/xUbuntu_16.04/Release.key state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "16.04" when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "16.04"
...@@ -82,22 +74,6 @@ ...@@ -82,22 +74,6 @@
apt_repository: repo='deb {{ base_open_build_url }}/xUbuntu_16.04/ ./' state=present apt_repository: repo='deb {{ base_open_build_url }}/xUbuntu_16.04/ ./' state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "16.04" when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "16.04"
- name: Install Ubuntu 17.04 repository key
apt_key: url={{ base_open_build_url }}/xUbuntu_17.10/Release.key state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "17.04"
- name: Install Ubuntu 17.04 repository
apt_repository: repo='deb {{ base_open_build_url }}/xUbuntu_17.04/ ./' state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "17.04"
- name: Install Ubuntu 17.10 repository key
apt_key: url={{ base_open_build_url }}/xUbuntu_17.10/Release.key state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "17.10"
- name: Install Ubuntu 17.10 repository
apt_repository: repo='deb {{ base_open_build_url }}/xUbuntu_17.10/ ./' state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "17.10"
- name: Install Ubuntu 18.04 repository key - name: Install Ubuntu 18.04 repository key
apt_key: url={{ base_open_build_url }}/xUbuntu_18.04/Release.key state=present apt_key: url={{ base_open_build_url }}/xUbuntu_18.04/Release.key state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "18.04" when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "18.04"
...@@ -114,6 +90,14 @@ ...@@ -114,6 +90,14 @@
apt_repository: repo='deb {{ base_open_build_url }}/xUbuntu_19.10/ ./' state=present apt_repository: repo='deb {{ base_open_build_url }}/xUbuntu_19.10/ ./' state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "19.10" when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "19.10"
- name: Install Ubuntu 20.04 repository key
apt_key: url={{ base_open_build_url }}/xUbuntu_20.04/Release.key state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "20.04"
- name: Install Ubuntu 20.04 repository
apt_repository: repo='deb {{ base_open_build_url }}/xUbuntu_20.04/ ./' state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "20.04"
- name: Install CentOS 7 Repository - name: Install CentOS 7 Repository
get_url: url=http://download.opensuse.org/repositories/home:/VIFIBnexedi/CentOS_7/home:VIFIBnexedi.repo dest=/etc/yum.repos.d/slapos.repo mode=0440 get_url: url=http://download.opensuse.org/repositories/home:/VIFIBnexedi/CentOS_7/home:VIFIBnexedi.repo dest=/etc/yum.repos.d/slapos.repo mode=0440
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7" when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
......
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