From: Andrew Schoen Date: Fri, 28 Apr 2017 15:47:27 +0000 (-0500) Subject: ceph-common: remove debian_ceph_packages X-Git-Tag: v2.3.0rc1~31^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1482%2Fhead;p=ceph-ansible.git ceph-common: remove debian_ceph_packages We shouldn't need this anymore as the upgrade bug that debian_ceph_packages was used to workaround should have been fixed as of jewel. See https://github.com/ceph/ceph-ansible/issues/1481 for more detailed information. Signed-off-by: Andrew Schoen --- diff --git a/group_vars/all.yml.sample b/group_vars/all.yml.sample index cb8b968f9..bd121bad6 100644 --- a/group_vars/all.yml.sample +++ b/group_vars/all.yml.sample @@ -74,15 +74,6 @@ dummy: # ceph nodes #ntp_service_enabled: true -# 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 #|--> yes, they are already all dependencies from 'ceph' -# - ceph-fs-common #|--> however while proceding to rolling upgrades and the 'ceph' package upgrade -# - ceph-fuse #|--> they don't get update so we need to force them - # Whether or not to install the ceph-test package. #ceph_test: False diff --git a/roles/ceph-common/defaults/main.yml b/roles/ceph-common/defaults/main.yml index 244e612c0..830117c71 100644 --- a/roles/ceph-common/defaults/main.yml +++ b/roles/ceph-common/defaults/main.yml @@ -66,15 +66,6 @@ redhat_package_dependencies: # ceph nodes ntp_service_enabled: true -# 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 #|--> yes, they are already all dependencies from 'ceph' - - ceph-fs-common #|--> however while proceding to rolling upgrades and the 'ceph' package upgrade - - ceph-fuse #|--> they don't get update so we need to force them - # Whether or not to install the ceph-test package. ceph_test: False diff --git a/roles/ceph-common/tasks/installs/install_on_debian.yml b/roles/ceph-common/tasks/installs/install_on_debian.yml index f25776399..ae6dfda92 100644 --- a/roles/ceph-common/tasks/installs/install_on_debian.yml +++ b/roles/ceph-common/tasks/installs/install_on_debian.yml @@ -17,11 +17,10 @@ - name: install ceph apt: - name: "{{ item }}" + name: "ceph" update_cache: no 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: "{{ debian_ceph_packages }}" - name: install ceph-test apt: