SUSE: Drop OBS repositories for openSUSE Leap < 42.3
We were installing additional repos for the apt-cacher-ng and liberasurecode packages which are only necessary for Leap < 42.3. However, < 42.3 is now EOL so lets drop these repositories since we can fetch these packages from the default repos in 42.3 Change-Id: I4ba16ea660907c3fb481a9e80d73b750c2f4c138
This commit is contained in:
parent
206cb92c39
commit
7889f37cdd
|
@ -28,7 +28,7 @@ galaxy_info:
|
|||
- 7
|
||||
- name: opensuse
|
||||
versions:
|
||||
- all
|
||||
- 42.3
|
||||
categories:
|
||||
- cloud
|
||||
- python
|
||||
|
|
|
@ -20,31 +20,6 @@
|
|||
tags:
|
||||
- repo_server-install
|
||||
|
||||
- name: Enable zypper repositories (SUSE)
|
||||
zypper_repository:
|
||||
refresh: yes
|
||||
name: "{{ item.name }}"
|
||||
repo: "{{ item.repo }}"
|
||||
register: zypper_repository_added
|
||||
with_items:
|
||||
- "{{ zypper_repositories }}"
|
||||
when:
|
||||
- ansible_pkg_mgr == 'zypper'
|
||||
tags:
|
||||
- repo_server-install
|
||||
|
||||
# NOTE(hwoarang): We need to run this right after we add the repos and
|
||||
# before we install any packages so it can't be a handler unless we
|
||||
# move everything to pre_tasks
|
||||
- name: Refresh zypper repository (SUSE)
|
||||
command: zypper --gpg-auto-import-keys ref
|
||||
when:
|
||||
- ansible_pkg_mgr == 'zypper'
|
||||
- zypper_repository_added.changed
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
- repo_server-install
|
||||
|
||||
- name: Install repo caching server packages
|
||||
package:
|
||||
name: "{{ repo_pkg_cache_server_distro_packages }}"
|
||||
|
|
|
@ -14,15 +14,6 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
zypper_repositories:
|
||||
# NOTE(hwoarang): apt-cacher-ng and liberasurecode do not exist for
|
||||
# Leap < 42.3 so we need to grab them directly from the devel repo.
|
||||
# Remove this when support for Leap < 42.3 is gone
|
||||
- name: "OBS:Server:Proxy"
|
||||
repo: http://download.opensuse.org/repositories/server:/proxy/openSUSE_Leap_{{ ansible_distribution_version }}
|
||||
- name: "OBS:devel:libraries:c_c++"
|
||||
repo: http://download.opensuse.org/repositories/devel:/libraries:/c_c++/openSUSE_Leap_{{ ansible_distribution_version }}/
|
||||
|
||||
systemd_utils_prefix: "/usr/lib/systemd"
|
||||
|
||||
repo_nginx_pid: /var/run/nginx.pid
|
||||
|
|
Loading…
Reference in New Issue