ceph-ansible/roles/ceph-mon
Sébastien Han 4bd9bea4b5 mon: fix with_items being evaluated before when
Ansible evaluates the 'with_items' before the 'when' so if the inventory
does not have the group declared it'll fail. To fix this, we set an
empty array to make the with_items happy and then evaluate with the
'when'.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 05331a2634)
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-05-24 16:31:33 +02:00
..
defaults docker: fix monitors name 2017-04-10 15:13:12 +02:00
files/precise Rename roles' names 2014-07-08 15:39:42 +02:00
meta use ceph-docker-common in roles that support docker deployments 2017-01-16 09:30:53 -06:00
tasks mon: fix with_items being evaluated before when 2017-05-24 16:31:33 +02:00
templates mon: do not hardcode ipv4 2017-05-18 14:48:47 +02: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 Monitor

This role mainly bootstraps Ceph monitor(s) but also has several capabilities:

  • Deploys Ceph monitor(s)
  • Manages Ceph keys
  • Can create OpenStack pools, users and keys
  • Secures a cluster (protect pools)
  • Bootstraps dockerized Ceph monitors

Requirements

Nothing, it runs out of the box.

Role variables

Have a look at: defaults/main.yml.

Mandatory variables

None.

Dependencies

The role leseb.ceph-common must be installed.

Example Playbook

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

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.