mirror of https://github.com/ceph/ceph-ansible.git
Add Debian ppc64le support
Add support to allow ceph-ansible to install and configure Ceph on Debian on the ppc64le architecture. Canonical has ppc64le Debian packages in Ubuntu distros and on Ubuntu Cloud Archive. Both of which can be installed and configured using the 'distro' or 'uca' options in ceph-ansible when this patch is used. Signed-off-by: Samuel Matzek <smatzek@us.ibm.com>pull/772/head
parent
52b2f1cb85
commit
9fec57a583
|
@ -64,6 +64,17 @@ dummy:
|
||||||
# - ntp
|
# - ntp
|
||||||
# - python-setuptools
|
# - python-setuptools
|
||||||
|
|
||||||
|
|
||||||
|
# The list of ceph packages needed for debian.
|
||||||
|
# This variable should only be changed if packages are not available from a given
|
||||||
|
# install source or architecture.
|
||||||
|
#debian_ceph_packages:
|
||||||
|
# - ceph
|
||||||
|
# - ceph-common #|
|
||||||
|
# - ceph-fs-common #|--> yes, they are already all dependencies from 'ceph'
|
||||||
|
# - ceph-fuse #|--> however while proceding to rolling upgrades and the 'ceph' package upgrade
|
||||||
|
# - libcephfs1 #|--> they don't get update so we need to force them
|
||||||
|
|
||||||
# Whether or not to install the ceph-test package.
|
# Whether or not to install the ceph-test package.
|
||||||
#ceph_test: False
|
#ceph_test: False
|
||||||
|
|
||||||
|
|
|
@ -56,6 +56,17 @@ redhat_package_dependencies:
|
||||||
- ntp
|
- ntp
|
||||||
- python-setuptools
|
- python-setuptools
|
||||||
|
|
||||||
|
|
||||||
|
# The list of ceph packages needed for debian.
|
||||||
|
# This variable should only be changed if packages are not available from a given
|
||||||
|
# install source or architecture.
|
||||||
|
debian_ceph_packages:
|
||||||
|
- ceph
|
||||||
|
- ceph-common #|
|
||||||
|
- ceph-fs-common #|--> yes, they are already all dependencies from 'ceph'
|
||||||
|
- ceph-fuse #|--> however while proceding to rolling upgrades and the 'ceph' package upgrade
|
||||||
|
- libcephfs1 #|--> they don't get update so we need to force them
|
||||||
|
|
||||||
# Whether or not to install the ceph-test package.
|
# Whether or not to install the ceph-test package.
|
||||||
ceph_test: False
|
ceph_test: False
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
- name: fail on unsupported architecture
|
- name: fail on unsupported architecture
|
||||||
fail:
|
fail:
|
||||||
msg: "Architecture not supported {{ ansible_architecture }}"
|
msg: "Architecture not supported {{ ansible_architecture }}"
|
||||||
when: "'{{ ansible_architecture }}' not in ['x86_64']"
|
when: "'{{ ansible_architecture }}' not in ['x86_64', 'ppc64le']"
|
||||||
|
|
||||||
- name: fail on unsupported distribution
|
- name: fail on unsupported distribution
|
||||||
fail:
|
fail:
|
||||||
|
|
|
@ -16,12 +16,7 @@
|
||||||
pkg: "{{ item }}"
|
pkg: "{{ item }}"
|
||||||
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
||||||
default_release: "{{ ceph_stable_release_uca | default(ansible_distribution_release) }}{{ '-backports' if ceph_origin == 'distro' and ceph_use_distro_backports else ''}}"
|
default_release: "{{ ceph_stable_release_uca | default(ansible_distribution_release) }}{{ '-backports' if ceph_origin == 'distro' and ceph_use_distro_backports else ''}}"
|
||||||
with_items:
|
with_items: debian_ceph_packages
|
||||||
- ceph
|
|
||||||
- ceph-common #|
|
|
||||||
- ceph-fs-common #|--> yes, they are already all dependencies from 'ceph'
|
|
||||||
- ceph-fuse #|--> however while proceding to rolling upgrades and the 'ceph' package upgrade
|
|
||||||
- libcephfs1 #|--> they don't get update so we need to force them
|
|
||||||
|
|
||||||
- name: install ceph-test
|
- name: install ceph-test
|
||||||
apt:
|
apt:
|
||||||
|
|
Loading…
Reference in New Issue