Merge "Move ceph client role to playbooks for faster run time"
This commit is contained in:
commit
42ea34774c
@ -103,6 +103,9 @@
|
||||
- role: "ceph_client"
|
||||
openstack_service_system_user: "{{ cinder_system_user_name }}"
|
||||
openstack_service_venv_bin: "{{ cinder_bin }}"
|
||||
when:
|
||||
- inventory_hostname in groups['cinder_volume']
|
||||
- cinder_backend_rbd_inuse | default(false) | bool
|
||||
tags:
|
||||
- ceph
|
||||
- role: "rsyslog_client"
|
||||
|
@ -70,14 +70,17 @@
|
||||
- include: common-tasks/package-cache-proxy.yml
|
||||
roles:
|
||||
- role: "os_glance"
|
||||
- role: "openstack_openrc"
|
||||
tags:
|
||||
- openrc
|
||||
- role: "ceph_client"
|
||||
openstack_service_system_user: "{{ glance_system_user_name }}"
|
||||
openstack_service_venv_bin: "{{ glance_bin }}"
|
||||
when:
|
||||
- inventory_hostname in groups['glance_api']
|
||||
- (glance_default_store | default('none') | lower == 'rbd')
|
||||
tags:
|
||||
- ceph
|
||||
- role: "openstack_openrc"
|
||||
tags:
|
||||
- openrc
|
||||
- role: "rsyslog_client"
|
||||
rsyslog_client_log_rotate_file: glance_log_rotate
|
||||
rsyslog_client_log_dir: "/var/log/glance"
|
||||
|
@ -46,6 +46,9 @@
|
||||
- role: "ceph_client"
|
||||
openstack_service_system_user: "{{ gnocchi_system_user_name }}"
|
||||
openstack_service_venv_bin: ""
|
||||
when:
|
||||
- inventory_hostname in groups['gnocchi_api']
|
||||
- (gnocchi_storage_driver | default('none') | lower == 'ceph')
|
||||
tags:
|
||||
- ceph
|
||||
- role: "os_gnocchi"
|
||||
|
@ -147,6 +147,10 @@
|
||||
- role: "ceph_client"
|
||||
openstack_service_system_user: "{{ nova_system_user_name }}"
|
||||
openstack_service_venv_bin: "{{ nova_bin }}"
|
||||
when:
|
||||
- inventory_hostname in groups['nova_compute']
|
||||
- nova_libvirt_images_rbd_pool is defined or
|
||||
cinder_backends_rbd_inuse | default(false) | bool
|
||||
tags:
|
||||
- ceph
|
||||
- role: "openstack_openrc"
|
||||
|
Loading…
Reference in New Issue
Block a user