mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-06-19 05:37:44 -02:30
Compare commits
1 Commits
master
...
component_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6e81803103 |
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
- name: Add proxy to yum.conf or dnf.conf if http_proxy is defined
|
- name: Add proxy to yum.conf or dnf.conf if http_proxy is defined
|
||||||
community.general.ini_file:
|
community.general.ini_file:
|
||||||
path: "{{ ((ansible_facts['distribution_major_version'] | int) < 8) | ternary('/etc/yum.conf', '/etc/dnf/dnf.conf') }}"
|
path: "{{ ((ansible_distribution_major_version | int) < 8) | ternary('/etc/yum.conf', '/etc/dnf/dnf.conf') }}"
|
||||||
section: main
|
section: main
|
||||||
option: proxy
|
option: proxy
|
||||||
value: "{{ http_proxy | default(omit) }}"
|
value: "{{ http_proxy | default(omit) }}"
|
||||||
@@ -20,28 +20,28 @@
|
|||||||
|
|
||||||
- name: Install EPEL for Oracle Linux repo package
|
- name: Install EPEL for Oracle Linux repo package
|
||||||
package:
|
package:
|
||||||
name: "oracle-epel-release-el{{ ansible_facts['distribution_major_version'] }}"
|
name: "oracle-epel-release-el{{ ansible_distribution_major_version }}"
|
||||||
state: present
|
state: present
|
||||||
when:
|
when:
|
||||||
- use_oracle_public_repo
|
- use_oracle_public_repo
|
||||||
- '''ID="ol"'' in os_release.stdout_lines'
|
- '''ID="ol"'' in os_release.stdout_lines'
|
||||||
- (ansible_facts['distribution_version'] | float) >= 7.6
|
- (ansible_distribution_version | float) >= 7.6
|
||||||
|
|
||||||
- name: Enable Oracle Linux repo
|
- name: Enable Oracle Linux repo
|
||||||
community.general.ini_file:
|
community.general.ini_file:
|
||||||
dest: "/etc/yum.repos.d/oracle-linux-ol{{ ansible_facts['distribution_major_version'] }}.repo"
|
dest: "/etc/yum.repos.d/oracle-linux-ol{{ ansible_distribution_major_version }}.repo"
|
||||||
section: "ol{{ ansible_facts['distribution_major_version'] }}_addons"
|
section: "ol{{ ansible_distribution_major_version }}_addons"
|
||||||
option: "{{ item.option }}"
|
option: "{{ item.option }}"
|
||||||
value: "{{ item.value }}"
|
value: "{{ item.value }}"
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
with_items:
|
with_items:
|
||||||
- { option: "name", value: "ol{{ ansible_facts['distribution_major_version'] }}_addons" }
|
- { option: "name", value: "ol{{ ansible_distribution_major_version }}_addons" }
|
||||||
- { option: "enabled", value: "1" }
|
- { option: "enabled", value: "1" }
|
||||||
- { option: "baseurl", value: "http://yum.oracle.com/repo/OracleLinux/OL{{ ansible_facts['distribution_major_version'] }}/addons/$basearch/" }
|
- { option: "baseurl", value: "http://yum.oracle.com/repo/OracleLinux/OL{{ ansible_distribution_major_version }}/addons/$basearch/" }
|
||||||
when:
|
when:
|
||||||
- use_oracle_public_repo
|
- use_oracle_public_repo
|
||||||
- '''ID="ol"'' in os_release.stdout_lines'
|
- '''ID="ol"'' in os_release.stdout_lines'
|
||||||
- (ansible_facts['distribution_version'] | float) >= 7.6
|
- (ansible_distribution_version | float) >= 7.6
|
||||||
|
|
||||||
- name: Enable Centos extra repo for Oracle Linux
|
- name: Enable Centos extra repo for Oracle Linux
|
||||||
community.general.ini_file:
|
community.general.ini_file:
|
||||||
@@ -51,15 +51,15 @@
|
|||||||
value: "{{ item.value }}"
|
value: "{{ item.value }}"
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
with_items:
|
with_items:
|
||||||
- { option: "name", value: "CentOS-{{ ansible_facts['distribution_major_version'] }} - Extras" }
|
- { option: "name", value: "CentOS-{{ ansible_distribution_major_version }} - Extras" }
|
||||||
- { option: "enabled", value: "1" }
|
- { option: "enabled", value: "1" }
|
||||||
- { option: "gpgcheck", value: "0" }
|
- { option: "gpgcheck", value: "0" }
|
||||||
- { option: "baseurl", value: "http://mirror.centos.org/centos/{{ ansible_facts['distribution_major_version'] }}/extras/$basearch/os/" }
|
- { option: "baseurl", value: "http://mirror.centos.org/centos/{{ ansible_distribution_major_version }}/extras/$basearch/os/" }
|
||||||
when:
|
when:
|
||||||
- use_oracle_public_repo
|
- use_oracle_public_repo
|
||||||
- '''ID="ol"'' in os_release.stdout_lines'
|
- '''ID="ol"'' in os_release.stdout_lines'
|
||||||
- (ansible_facts['distribution_version'] | float) >= 7.6
|
- (ansible_distribution_version | float) >= 7.6
|
||||||
- (ansible_facts['distribution_version'] | float) < 9
|
- (ansible_distribution_version | float) < 9
|
||||||
|
|
||||||
# CentOS ships with python installed
|
# CentOS ships with python installed
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
- name: Add proxy to yum.conf or dnf.conf if http_proxy is defined
|
- name: Add proxy to yum.conf or dnf.conf if http_proxy is defined
|
||||||
community.general.ini_file:
|
community.general.ini_file:
|
||||||
path: "{{ ((ansible_facts['distribution_major_version'] | int) < 8) | ternary('/etc/yum.conf', '/etc/dnf/dnf.conf') }}"
|
path: "{{ ((ansible_distribution_major_version | int) < 8) | ternary('/etc/yum.conf', '/etc/dnf/dnf.conf') }}"
|
||||||
section: main
|
section: main
|
||||||
option: proxy
|
option: proxy
|
||||||
value: "{{ http_proxy | default(omit) }}"
|
value: "{{ http_proxy | default(omit) }}"
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
- "rhel-8-for-*-appstream-rpms"
|
- "rhel-8-for-*-appstream-rpms"
|
||||||
state: "{{ 'enabled' if (rhel_enable_repos | bool) else 'disabled' }}"
|
state: "{{ 'enabled' if (rhel_enable_repos | bool) else 'disabled' }}"
|
||||||
when:
|
when:
|
||||||
- ansible_facts['distribution_major_version'] == "8"
|
- ansible_distribution_major_version == "8"
|
||||||
- (not rh_subscription_status.changed) or (rh_subscription_username is defined) or (rh_subscription_org_id is defined)
|
- (not rh_subscription_status.changed) or (rh_subscription_username is defined) or (rh_subscription_org_id is defined)
|
||||||
|
|
||||||
- name: Check presence of fastestmirror.conf
|
- name: Check presence of fastestmirror.conf
|
||||||
|
|||||||
@@ -700,9 +700,11 @@ cri_dockerd_archive_checksums:
|
|||||||
0.3.5: sha256:30d47bd89998526d51a8518f9e8ef10baed408ab273879ee0e30350702092938
|
0.3.5: sha256:30d47bd89998526d51a8518f9e8ef10baed408ab273879ee0e30350702092938
|
||||||
runc_checksums:
|
runc_checksums:
|
||||||
arm64:
|
arm64:
|
||||||
|
1.4.3: sha256:633301e2e32f8a5ad54031aab4901eb00308bec677dd15faa2751e8f9dab5ca4
|
||||||
1.4.2: sha256:ea54032310588e115633aa2f4bba8bf9500257f657e1deca88df5778775138db
|
1.4.2: sha256:ea54032310588e115633aa2f4bba8bf9500257f657e1deca88df5778775138db
|
||||||
1.4.1: sha256:80d5757c46152c35151621cf394ee08cec881716169d0fdd40f9ce124d3c85f5
|
1.4.1: sha256:80d5757c46152c35151621cf394ee08cec881716169d0fdd40f9ce124d3c85f5
|
||||||
1.4.0: sha256:2adbeed4c751d6f2201c642ed06269ff4370fcc4165abd3f323e19c653716c31
|
1.4.0: sha256:2adbeed4c751d6f2201c642ed06269ff4370fcc4165abd3f323e19c653716c31
|
||||||
|
1.3.6: sha256:6be27a061ef89bb14c6cb495405bba80f46cea213b8f79378a6086b1bac6b747
|
||||||
1.3.5: sha256:bd843d75a788e612c9df286b1fa519a44fcbb7a7b8d01e2268431433cc7c718c
|
1.3.5: sha256:bd843d75a788e612c9df286b1fa519a44fcbb7a7b8d01e2268431433cc7c718c
|
||||||
1.3.4: sha256:d6dcab36d1b6af1b72c7f0662e5fcf446a291271ba6006532b95c4144e19d428
|
1.3.4: sha256:d6dcab36d1b6af1b72c7f0662e5fcf446a291271ba6006532b95c4144e19d428
|
||||||
1.3.3: sha256:3c9a8e9e6dafd00db61f4611692447ebab4a56388bae4f82192aed67b66df712
|
1.3.3: sha256:3c9a8e9e6dafd00db61f4611692447ebab4a56388bae4f82192aed67b66df712
|
||||||
@@ -728,9 +730,11 @@ runc_checksums:
|
|||||||
1.1.9: sha256:b43e9f561e85906f469eef5a7b7992fc586f750f44a0e011da4467e7008c33a0
|
1.1.9: sha256:b43e9f561e85906f469eef5a7b7992fc586f750f44a0e011da4467e7008c33a0
|
||||||
1.1.8: sha256:7c22cb618116d1d5216d79e076349f93a672253d564b19928a099c20e4acd658
|
1.1.8: sha256:7c22cb618116d1d5216d79e076349f93a672253d564b19928a099c20e4acd658
|
||||||
amd64:
|
amd64:
|
||||||
|
1.4.3: sha256:f6ae8efc0fa40079e1475e97cbe9d1bd3f106a28d6af78a11d9f1bd565515e60
|
||||||
1.4.2: sha256:ac8a90f9e225bb9322189937b230cdc5478d5753f0e31e1bda98a5cf06bd9539
|
1.4.2: sha256:ac8a90f9e225bb9322189937b230cdc5478d5753f0e31e1bda98a5cf06bd9539
|
||||||
1.4.1: sha256:b6d50dad89a420cafcdc0eebf4bed132a45b161d5bc1ba4ddd8cc4422d24a983
|
1.4.1: sha256:b6d50dad89a420cafcdc0eebf4bed132a45b161d5bc1ba4ddd8cc4422d24a983
|
||||||
1.4.0: sha256:c5d4995c5aec204d7e1827d9d9a6b45042602736f7f415f484252e576dcdac28
|
1.4.0: sha256:c5d4995c5aec204d7e1827d9d9a6b45042602736f7f415f484252e576dcdac28
|
||||||
|
1.3.6: sha256:3f3921dbbee7723e9868f97e88e51ffc910206e3ba55646e74d93d24ea76023c
|
||||||
1.3.5: sha256:66fa8390be8fb3b23dfbb60c767368bb5b51f1acfa88692bbff1a82953d4d9e9
|
1.3.5: sha256:66fa8390be8fb3b23dfbb60c767368bb5b51f1acfa88692bbff1a82953d4d9e9
|
||||||
1.3.4: sha256:5966ca40b6187b30e33bfc299c5f1fe72e8c1aa01cf3fefdadf391668f47f103
|
1.3.4: sha256:5966ca40b6187b30e33bfc299c5f1fe72e8c1aa01cf3fefdadf391668f47f103
|
||||||
1.3.3: sha256:8781ab9f71c12f314d21c8e85f13ca1a82d90cf475aa5131a7b543fcc5487543
|
1.3.3: sha256:8781ab9f71c12f314d21c8e85f13ca1a82d90cf475aa5131a7b543fcc5487543
|
||||||
@@ -756,9 +760,11 @@ runc_checksums:
|
|||||||
1.1.9: sha256:b9bfdd4cb27cddbb6172a442df165a80bfc0538a676fbca1a6a6c8f4c6933b43
|
1.1.9: sha256:b9bfdd4cb27cddbb6172a442df165a80bfc0538a676fbca1a6a6c8f4c6933b43
|
||||||
1.1.8: sha256:1d05ed79854efc707841dfc7afbf3b86546fc1d0b3a204435ca921c14af8385b
|
1.1.8: sha256:1d05ed79854efc707841dfc7afbf3b86546fc1d0b3a204435ca921c14af8385b
|
||||||
ppc64le:
|
ppc64le:
|
||||||
|
1.4.3: sha256:9a10f813733a5bdf740e9513a210d817bec08cab6939913a25362e5c5915fbdc
|
||||||
1.4.2: sha256:572a4b78f7cb55569f12c4b3999fbc44e6d3c2c7e94ec0024cf7ae09922438b4
|
1.4.2: sha256:572a4b78f7cb55569f12c4b3999fbc44e6d3c2c7e94ec0024cf7ae09922438b4
|
||||||
1.4.1: sha256:9758879188759989fd54fa287af3e51a78cf147309cd0336139685f026f531ed
|
1.4.1: sha256:9758879188759989fd54fa287af3e51a78cf147309cd0336139685f026f531ed
|
||||||
1.4.0: sha256:9effd22d207c80ceab4816ce1736356c6b87ddf687ae1b5d9310523a7da92786
|
1.4.0: sha256:9effd22d207c80ceab4816ce1736356c6b87ddf687ae1b5d9310523a7da92786
|
||||||
|
1.3.6: sha256:351188eac3222a035869048b6fe303edeca6288f8f8b58d25f172151df3df205
|
||||||
1.3.5: sha256:62e8f062291c2b2b29bd8ab8c983cef56409063287e256c50ab54fb54f5d98a7
|
1.3.5: sha256:62e8f062291c2b2b29bd8ab8c983cef56409063287e256c50ab54fb54f5d98a7
|
||||||
1.3.4: sha256:268d9be1188f3efa82cad0d8e6b938d8da0d741427660d874ca9386c68d72937
|
1.3.4: sha256:268d9be1188f3efa82cad0d8e6b938d8da0d741427660d874ca9386c68d72937
|
||||||
1.3.3: sha256:c42394e7cf7cd508a91b090b72d57ff4df262effde742d5e29ea607e65f38b43
|
1.3.3: sha256:c42394e7cf7cd508a91b090b72d57ff4df262effde742d5e29ea607e65f38b43
|
||||||
|
|||||||
Reference in New Issue
Block a user