mirror of https://github.com/ceph/ceph-ansible.git
18 lines
525 B
YAML
18 lines
525 B
YAML
---
|
|
- name: Create OpenStack pool
|
|
command: rados mkpool {{ item }}
|
|
with_items:
|
|
- "{{ openstack_glance_pool }}"
|
|
- "{{ openstack_cinder_pool }}"
|
|
- "{{ openstack_nova_pool }}"
|
|
- "{{ openstack_cinder_backup_pool }}"
|
|
ignore_errors: True
|
|
changed_when: False
|
|
|
|
- name: Create OpenStack keys
|
|
command: >
|
|
ceph auth get-or-create {{ item.name }} {{ item.value }} -o /etc/ceph/ceph.{{ item.name }}.keyring
|
|
creates=/etc/ceph/ceph.{{ item.name }}.keyring
|
|
with_items: openstack_keys
|
|
changed_when: False
|