mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-19 20:20:10 -03:30
Support for Oracle Linux (#3655)
Fixed Issue #1032 test case for OEL7 AIL with kubeadm Add packet CI stuff for oracle 7
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
cdf9a9f4fc
commit
728155a2a1
@@ -104,11 +104,11 @@
|
||||
dest: "{{ yum_repo_dir }}/docker.repo"
|
||||
when: ansible_distribution == "Fedora" and not is_atomic
|
||||
|
||||
- name: Configure docker repository on RedHat/CentOS
|
||||
- name: Configure docker repository on RedHat/CentOS/Oracle Linux
|
||||
template:
|
||||
src: "rh_docker.repo.j2"
|
||||
dest: "{{ yum_repo_dir }}/docker.repo"
|
||||
when: ansible_distribution in ["CentOS","RedHat"] and not is_atomic
|
||||
when: ansible_distribution in ["CentOS","RedHat","OracleLinux"] and not is_atomic
|
||||
|
||||
- name: check if container-selinux is available
|
||||
yum:
|
||||
@@ -136,7 +136,7 @@
|
||||
src: "{{ yum_conf }}"
|
||||
dest: "{{ docker_yum_conf }}"
|
||||
remote_src: yes
|
||||
when: ansible_distribution in ["CentOS","RedHat"] and not is_atomic
|
||||
when: ansible_distribution in ["CentOS","RedHat","OracleLinux"] and not is_atomic
|
||||
|
||||
- name: Edit copy of yum.conf to set obsoletes=0
|
||||
lineinfile:
|
||||
@@ -144,7 +144,7 @@
|
||||
state: present
|
||||
regexp: '^obsoletes='
|
||||
line: 'obsoletes=0'
|
||||
when: ansible_distribution in ["CentOS","RedHat"] and not is_atomic
|
||||
when: ansible_distribution in ["CentOS","RedHat","OracleLinux"] and not is_atomic
|
||||
|
||||
- name: ensure docker packages are installed
|
||||
action: "{{ docker_package_info.pkg_mgr }}"
|
||||
|
||||
Reference in New Issue
Block a user