Skip to content

Commit

Permalink
common: add centos8 support
Browse files Browse the repository at this point in the history
This commit adds CentOS 8 support.

Signed-off-by: Guillaume Abrioux <[email protected]>
  • Loading branch information
guits committed Dec 2, 2019
1 parent c8d9c8a commit edfb167
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion group_vars/all.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ dummy:

#centos_package_dependencies:
# - epel-release
# - libselinux-python
# - "{{ 'libselinux-python' if ansible_distribution_major_version | int != 8 else 'python3-libselinux'à }}"

#redhat_package_dependencies: []

Expand Down
2 changes: 1 addition & 1 deletion group_vars/rhcs.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ fetch_directory: ~/ceph-ansible-keys

#centos_package_dependencies:
# - epel-release
# - libselinux-python
# - "{{ 'libselinux-python' if ansible_distribution_major_version | int != 8 else 'python3-libselinux'à }}"

#redhat_package_dependencies: []

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
register: result
until: result is succeeded
tags: with_pkg
when: ansible_distribution_major_version | int == 8

- name: configure red hat ceph community repository stable key
rpm_key:
Expand Down
2 changes: 1 addition & 1 deletion roles/ceph-defaults/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ debian_package_dependencies: []

centos_package_dependencies:
- epel-release
- libselinux-python
- "{{ 'libselinux-python' if ansible_distribution_major_version | int != 8 else 'python3-libselinux'à }}"

redhat_package_dependencies: []

Expand Down

0 comments on commit edfb167

Please sign in to comment.