openstack-ansible-ceph_client/tasks
Samuel Matzek bd18d8e8f3 Refactor ceph_client for multi-OS and ceph
This patch refactors the ceph_client role to add support for multiple
operating system distros and multiple sources for Ceph packages.

The support of multiple sources for the Ceph packages  is important
to organizations that must get packages from Canonical for service and
support. The current Ceph repo setup goes to upstream ceph.com
repositories and does not work with the UCA.

The use of UCA is also important when running OpenStack on the ppc64le
architecture because ceph.com does not have Debian packages available
for this architecture and the default trusty and trusty-updates repos
only have Ceph Giant, whereas the user can get later releases such as
Ceph Jewel from UCA.

The multiple operating system support for Trusty and Xenial also plays
into this since Xenial has Ceph Jewel by default.  For Xenial OSA
deployments users may want to use the modern ceph client already
available for the distro.

The choice of which Ceph source to use is simple for deployers. They
simply set it with the ceph_pkg_source variable but have additional
variables they can tweak to pick specific Ceph versions from the
sources:

The ceph_pkg_source variable controls the install source for the
Ceph packages.
Valid values include:
  * ceph This option installs Ceph from a ceph.com repo.  Additional
         variables to adjust items such as Ceph release and regional
         download mirror can be found in vars/*.yml

  * uca  This option installs Ceph from the Ubuntu Cloud Archive.
         Additional variables to adjust items such as the
         OpenStack/Ceph release can be found in vars/*.yml.

  * distro This options installs Ceph from the operating system's
           default repository and unlike the other options does not
           attempt to manage package keys or add additional package
           repositories.

Change-Id: Ib21b3f76ccf4556548180c8694786d43fa0a024f
2016-05-13 10:44:54 +00:00
..
ceph_all.yml Refactor ceph_client for multi-OS and ceph 2016-05-13 10:44:54 +00:00
ceph_auth.yml iQEcBAABCgAGBQJW/L/xAAoJEGn+/8Xi2Sc/ycYIAIFEX0z0x1eFqwyOL6O7Ka9a 2016-03-31 01:12:59 -05:00
ceph_config.yml Use dict args for ceph_config slurp 2015-08-24 21:11:50 +00:00
ceph_get_mon_host.yml Add Ceph/RBD support to playbooks 2015-08-01 19:49:00 +01:00
ceph_install.yml Refactor ceph_client for multi-OS and ceph 2016-05-13 10:44:54 +00:00
ceph_install_apt.yml Refactor ceph_client for multi-OS and ceph 2016-05-13 10:44:54 +00:00
ceph_preinstall.yml Refactor ceph_client for multi-OS and ceph 2016-05-13 10:44:54 +00:00
ceph_preinstall_apt.yml Refactor ceph_client for multi-OS and ceph 2016-05-13 10:44:54 +00:00
main.yml Add Ceph/RBD support to playbooks 2015-08-01 19:49:00 +01:00