Skip to content
Snippets Groups Projects
Select Git revision
  • master default
  • old-master
  • mitaka
  • ansible-1.9
  • v3.0.4-lsn
  • v3.0.4
  • v3.0.1
  • v3.0.2
  • v3.0.3
  • v3.0.0
  • v3.0.0rc19
  • v3.0.0rc18
  • v3.0.0rc17
  • v3.0.0rc13
  • v3.0.0rc14
  • v3.0.0rc15
  • v3.0.0rc16
  • v3.0.0rc12
  • v2.2.12
  • v3.0.0rc11
  • v3.0.0rc10
  • v3.0.0rc8
  • v3.0.0rc9
  • v3.0.0rc7
24 results

ansible-ceph-common

  • Clone with SSH
  • Clone with HTTPS
  • Forked from mirror / ansible-ceph-common
    481 commits behind the upstream repository.
    user avatar
    Chris St. Pierre authored
    Instead of creating the RBD client socket path three different places
    in three different ways, this creates it once. Ceph on OpenStack users
    have the option to customize the permissions of the RBD client
    directories.
    
    Fixes #687
    d53c4359
    History

    Ansible role: Ceph Common

    This role does several things prior to bootstrapping your Ceph cluster:

    • Checks the system and validates that Ceph can be installed
    • Tunes the operating system if the node is an OSD server
    • Installs Ceph
    • Generates ceph.conf

    Requirements

    Move the plugins/actions/config_template.py file to your top level playbook directory. Edit your ansible.cfg like so:

    action_plugins = plugins/actions

    Depending on how you are managing your playbook, the path might be different so edit the file accordingly if necessary.

    Role variables

    Have a look at defaults/main.yml.

    Mandatory variables

    • Install source, choose one of these:
      • ceph_stable
      • ceph_dev
      • ceph_stable_ice
      • ceph_stable_rh_storage
    • journal_size
    • monitor_interface
    • public_network
    • cluster_network

    Handlers

    • update apt cache
    • restart ceph-mon
    • restart ceph-osd
    • restart ceph-mds
    • restart ceph-rgw
    • restart ceph-restapi
    • restart apache2

    Dependencies

    None

    Example Playbook

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

    Misc

    This role is a mandatory dependency for the following roles:

    • ceph-mon
    • ceph-osd
    • ceph-mds
    • ceph-rgw
    • ceph-restapi

    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.