Merge pull request #772 from smatzek/add_debian_ppc64le_support

Add Debian ppc64le support
pull/777/head
Leseb 2016-05-10 23:20:45 +02:00
commit a12249c315
4 changed files with 24 additions and 7 deletions

View File

@ -64,6 +64,17 @@ dummy:
# - ntp
# - 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.
#ceph_test: False

View File

@ -56,6 +56,17 @@ redhat_package_dependencies:
- ntp
- 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.
ceph_test: False

View File

@ -7,7 +7,7 @@
- name: fail on unsupported architecture
fail:
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
fail:

View File

@ -16,12 +16,7 @@
pkg: "{{ item }}"
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 ''}}"
with_items:
- 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
with_items: debian_ceph_packages
- name: install ceph-test
apt: