From: Andrew Schoen Date: Fri, 14 Aug 2015 14:46:43 +0000 (-0500) Subject: tesnode: add `ceph_packages` to the README X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=06fa46485d4f25b7f3c936f9429cddff9d112290;p=ceph-cm-ansible.git tesnode: add `ceph_packages` to the README Signed-off-by: Andrew Schoen --- diff --git a/roles/testnode/README.rst b/roles/testnode/README.rst index fd5ddcd..ba14904 100644 --- a/roles/testnode/README.rst +++ b/roles/testnode/README.rst @@ -113,6 +113,11 @@ a number of packages in ``common_packages`` that need to be installed across all (for example, ``roles/testnode/vars/ubuntu_14.yml``) define packages in ``packages`` that either have varying names across versions or are only needed for that specific version. This is the same idea behind the vars that control apt and yum repos as well. +A list of ceph packages to remove. It's safe to add packages to this list that aren't currently installed or don't exist. Both ``apt-get`` and ``yum`` +handle this case correctly. This list is defined in ``vars/apt_systems.yml`` and ``vars/yum_systems.yml``:: + + ceph_packages: [] + A list of packages to remove. These lists are defined in the var files in ``vars/``:: packages_to_remove: [] diff --git a/roles/testnode/defaults/main.yml b/roles/testnode/defaults/main.yml index 69a2f94..af38692 100644 --- a/roles/testnode/defaults/main.yml +++ b/roles/testnode/defaults/main.yml @@ -28,6 +28,8 @@ epel_packages: [] # version, distro or package type common_packages: [] +# packages used by ceph we want to ensure are removed +ceph_packages: [] packages_to_remove: [] packages_to_upgrade: []