2021-03-05 12:40:53 +00:00
|
|
|
|
|
|
|
[![Build Status](https://drone.hawkless.id.au/api/badges/coryHawkvelt/ansible-libvirtsecret/status.svg)](https://drone.hawkless.id.au/coryHawkvelt/ansible-libvirtsecret)
|
|
|
|
|
2020-07-30 07:56:46 +00:00
|
|
|
# ansible-libvirtsecret
|
|
|
|
This is intended to be used an an Ansible role
|
|
|
|
Used to deploy libvirt secret for allowing libvirt to connect to ceph
|
|
|
|
|
|
|
|
Required vars
|
2020-08-20 08:53:33 +00:00
|
|
|
rbd_secret_uuid
|
|
|
|
rbd_secret_key
|
2020-07-30 07:56:46 +00:00
|
|
|
|
|
|
|
Example to create ceph creds:
|
|
|
|
ceph auth get-or-create client.openstack -o ceph.client.openstack.keyring
|
|
|
|
ceph auth caps client.openstack mon 'allow r' osd "allow class-read object_prefix rbd_children, allow rwx pool=volumes, allow rx pool=images"
|