Role - tripleo-ceph-common

Role Documentation

Welcome to the “tripleo-ceph-common” role documentation.

Role Defaults

This section highlights all of the defaults and variables set within the “tripleo-ceph-common” role.

blacklisted_hostnames: []
ceph_ansible_environment_variables: {}
ceph_ansible_extra_vars:
  container_binary: podman
  ireallymeanit: 'yes'
ceph_ansible_group_vars_all:
  ceph_conf_overrides:
    global:
      osd_pool_default_pg_num: 32
      osd_pool_default_pgp_num: 32
      osd_pool_default_size: 3
      rgw_keystone_accepted_admin_roles: ResellerAdmin
      rgw_keystone_accepted_roles: Member, admin
      rgw_keystone_admin_domain: default
      rgw_keystone_admin_password: fEoaZFe0C5ZQ1hvFo7yfxutan
      rgw_keystone_admin_project: service
      rgw_keystone_admin_user: swift
      rgw_keystone_api_version: 3
      rgw_keystone_implicit_tenants: 'true'
      rgw_keystone_revocation_interval: '0'
      rgw_keystone_url: http://192.168.24.18:5000
      rgw_s3_auth_use_keystone: 'true'
      rgw_swift_account_in_url: 'true'
      rgw_swift_versioning_enabled: 'true'
  ceph_container_image: ceph/daemon
  ceph_container_image_tag: v4.0.1-stable-4.0-nautilus-centos-7-x86_64
  ceph_container_registry: 192.168.24.1:8787
  ceph_origin: distro
  ceph_stable: true
  cluster: ceph
  cluster_network: 192.168.24.0/24
  configure_firewall: false
  containerized_deployment: true
  dashboard_enabled: false
  fsid: b8df929e-7c29-11e9-b1bd-244253215215
  generate_fsid: false
  ip_version: ipv4
  keys:
  - caps:
      mgr: allow *
      mon: profile rbd
      osd: profile rbd pool=volumes, profile rbd pool=backups, profile rbd pool=vms,
        profile rbd pool=images
    key: AQCwmeRcAAAAABAA6SQU/bGqFjlfLro5KxrB1Q==
    mode: '0600'
    name: client.openstack
  - caps:
      mds: allow *
      mgr: allow *
      mon: allow r, allow command 'auth del', allow command 'auth caps', allow command
        'auth get', allow command 'auth get-or-create'
      osd: allow rw
    key: AQCwmeRcAAAAABAAiglHZveUQUmoSsYbZcbMEA==
    mode: '0600'
    name: client.manila
  - caps:
      mgr: allow *
      mon: allow rw
      osd: allow rwx
    key: AQCwmeRcAAAAABAAvd9OK2qeXNaD4rL/wP7D0Q==
    mode: '0600'
    name: client.radosgw
  monitor_address_block: 192.168.24.0/24
  ntp_service_enabled: false
  openstack_config: true
  openstack_keys:
  - caps:
      mgr: allow *
      mon: profile rbd
      osd: profile rbd pool=volumes, profile rbd pool=backups, profile rbd pool=vms,
        profile rbd pool=images
    key: AQCwmeRcAAAAABAA6SQU/bGqFjlfLro5KxrB1Q==
    mode: '0600'
    name: client.openstack
  - caps:
      mds: allow *
      mgr: allow *
      mon: allow r, allow command 'auth del', allow command 'auth caps', allow command
        'auth get', allow command 'auth get-or-create'
      osd: allow rw
    key: AQCwmeRcAAAAABAAiglHZveUQUmoSsYbZcbMEA==
    mode: '0600'
    name: client.manila
  - caps:
      mgr: allow *
      mon: allow rw
      osd: allow rwx
    key: AQCwmeRcAAAAABAAvd9OK2qeXNaD4rL/wP7D0Q==
    mode: '0600'
    name: client.radosgw
  openstack_pools:
  - application: rbd
    name: images
    pg_num: 32
    rule_name: replicated_rule
  - application: rbd
    name: backups
    pg_num: 32
    rule_name: replicated_rule
  - application: rbd
    name: vms
    pg_num: 32
    rule_name: replicated_rule
  - application: rbd
    name: volumes
    pg_num: 32
    rule_name: replicated_rule
  pools: []
  public_network: 192.168.24.0/24
  user_config: true
ceph_ansible_inherits_calling_ansible_environment: true
ceph_ansible_playbook_verbosity: 3
ceph_ansible_playbooks_param:
- default
ceph_ansible_skip_tags: package-install,with_pkg
local_ceph_ansible_fetch_directory_backup: '{{ playbook_dir }}/ceph-ansible/fetch_backup'
swift_get_url: ''
swift_put_url: ''
uuid_content: {}

Role Variables: main.yml

calling_ansible_environment_variables: []

Molecule Scenarios

Molecule is being used to test the “tripleo-ceph-common” role. The following section highlights the drivers in service and provides an example playbook showing how the role is leveraged.

Scenario: default

Driver: docker
Molecule Inventory
hosts:
  all:
    vars:
      ansible_user: root
Example default playbook
- hosts: all
  name: Converge
  roles:
  - role: tripleo-ceph-common