ceph-ansible/roles/ceph-osd
Sébastien Han c2f1dca823 docker: use a better method to pull images
We changed the way we declare image.
Prior to this patch we must have a "user/image:tag"
format, which is incompatible with non docker-hub registry where you
usually don't have a "user". On the docker hub a "user" is also
identified as a namespace, so for Ceph the user was "ceph".

Variables have been simplified with only:

* ceph_docker_image
* ceph_docker_image_tag

1. For docker hub images: ceph_docker_name: "ceph/daemon" will give
you the 'daemon' image of the 'ceph' user.

2. For non docker hub images: ceph_docker_name: "daemon" will simply
give you the "daemon" image.

Infrastructure playbooks have been modified as well.
The file group_vars/all.docker.yml.sample has been removed as well.
It is hard to maintain since we have to generate it manually. If
you want to configure specific variables for a specific daemon simply
edit group_vars/$DAEMON.yml

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1420207
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-02-09 17:57:18 +01:00
..
defaults docker: use a better method to pull images 2017-02-09 17:57:18 +01:00
meta use ceph-docker-common in roles that support docker deployments 2017-01-16 09:30:53 -06:00
tasks docker: use a better method to pull images 2017-02-09 17:57:18 +01:00
templates docker: use a better method to pull images 2017-02-09 17:57:18 +01:00
LICENSE Add READMEs for each roles 2015-07-25 10:51:53 +02:00
README.md Add contribution note 2015-07-25 11:10:39 +02:00

README.md

Ansible role: Ceph OSD

This role bootstraps Ceph OSD(s). It can bootstrap dockerized Ceph OSD(s).

Requirements

Nothing, it runs out of the box.

Role variables

Have a look at: defaults/main.yml.

Mandatory variables

Choose between the following scenario to configure your OSDs, choose only one:

  • journal_collocation
  • raw_multi_journal
  • osd_directory

Then:

  • devices
  • raw_journal_devices (only if you activated raw_multi_journal)
  • osd_directories (only if you activated osd_directory)

Dependencies

The role leseb.ceph-common must be installed.

Example Playbook

- hosts: servers
  remote_user: ubuntu
  roles:
     - { role: leseb.ceph-osd }

Contribution

THIS REPOSITORY DOES NOT ACCEPT PULL REQUESTS PULL REQUESTS MUST GO THROUGH CEPH-ANSIBLE

License

Apache

Author Information

This role was created by Sébastien Han.