Commit e0a935f5 authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Rafael Monnerat

playbook: Support OpenSuse 15

parent 3ce407a9
...@@ -5,3 +5,7 @@ ...@@ -5,3 +5,7 @@
- name: Install {{ package_name }} using yum - name: Install {{ package_name }} using yum
yum: name={{ package_name }} state={{ package_state }} update_cache=yes yum: name={{ package_name }} state={{ package_state }} update_cache=yes
when: ansible_os_family == "RedHat" when: ansible_os_family == "RedHat"
- name: Install {{ package_name }} using zypper
zypper: name={{ package_name }} state={{ package_state }} update_cache=yes
when: ansible_os_family == "Suse"
...@@ -140,4 +140,10 @@ ...@@ -140,4 +140,10 @@
rpm_key: state=present key=http://download.opensuse.org/repositories/home:/VIFIBnexedi/Fedora_26/repodata/repomd.xml.key rpm_key: state=present key=http://download.opensuse.org/repositories/home:/VIFIBnexedi/Fedora_26/repodata/repomd.xml.key
when: ansible_distribution == "Fedora" and ansible_distribution_major_version == "26" when: ansible_distribution == "Fedora" and ansible_distribution_major_version == "26"
- name: Install OpenSuse Leap 15 RPM Key
rpm_key: state=present key=http://download.opensuse.org/repositories/home:/VIFIBnexedi/openSUSE_Leap_15.1/repodata/repomd.xml.key
when: ansible_distribution == "Suse" and ansible_distribution_major_version == "15"
- name: Install OpenSuse Leap 15 repository
get_url: url=http://download.opensuse.org/repositories/home:/VIFIBnexedi/openSUSE_Leap_15.1/home:VIFIBnexedi.repo dest=/etc/zypp/repos.d/home_VIFIBnexedi.repo mode=0440
when: ansible_os_family == "Suse" and ansible_distribution_major_version == "15"
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