tripleo-ansible/tripleo_ansible/roles/tripleo-ceph-uuid
John Fulton 4d38019467 Introduce ansible roles for ceph preparation
Create five ansible roles prefixed with "tripleo-ceph-" to
prepare the undercloud to run ceph-ansible. These roles were
previously embedded as tasks in tripleo-heat-templates.
ceph-ansible assumes its working directory persists and is
configured by the user manually. TripleO integration requires
that these steps be automated and these roles perform that
automation.

The roles may be used to create an ansible working directory
with inventory, a ceph-ansible fetch directory, a system uuid
map for node-specific-overrides, and runs ceph-ansible with
the required options.

Add ceph.yaml to the playbooks directory which can be used for
development of these roles with --skip-tags run_ceph_ansible.

Change-Id: I19cd58275a0b8f8f84776a98008cd9b10ceda908
2019-06-29 08:57:33 -04:00
..
meta Introduce ansible roles for ceph preparation 2019-06-29 08:57:33 -04:00
tasks Introduce ansible roles for ceph preparation 2019-06-29 08:57:33 -04:00
README.md Introduce ansible roles for ceph preparation 2019-06-29 08:57:33 -04:00

README.md

Ansible Role to gather node UUIDs for node-specfic overrides

Populates the host_vars of the ceph-ansible working directory, as provided by the tripleo-ceph-work-dir role, by mapping each hostname to its UUID. The UUID is determined by running the dmidecode -s system-uuid command on each node with Ansible. This role creates and executes its own playbook. This role sets up the host_vars directory used by ceph-ansible so that TripleO's "node specific overrides" can be used to override a particular parameter for only a subset of hosts. The most popular usecase for this role is to pass a different list of block devices to be used as OSDs for a subset of servers which differ from the majority of servers.

Requirements

None

Role Variables

None

Dependencies

  • tripleo-ceph-common
  • tripleo-ceph-work-dir