mirror of https://github.com/ceph/ceph-ansible.git
commit
6b37c21cf1
|
@ -351,6 +351,7 @@ dummy:
|
||||||
# by ceph.conf.j2 template. so it should always be defined
|
# by ceph.conf.j2 template. so it should always be defined
|
||||||
#mon_containerized_deployment_with_kv: false
|
#mon_containerized_deployment_with_kv: false
|
||||||
#mon_containerized_deployment: false
|
#mon_containerized_deployment: false
|
||||||
|
#mon_containerized_default_ceph_conf_with_kv: false
|
||||||
|
|
||||||
|
|
||||||
##################
|
##################
|
||||||
|
|
|
@ -72,6 +72,7 @@ dummy:
|
||||||
|
|
||||||
#mon_containerized_deployment: false
|
#mon_containerized_deployment: false
|
||||||
#mon_containerized_deployment_with_kv: false
|
#mon_containerized_deployment_with_kv: false
|
||||||
|
# This is currently in ceph-common defaults because it is shared with ceph-nfs
|
||||||
#mon_containerized_default_ceph_conf_with_kv: false
|
#mon_containerized_default_ceph_conf_with_kv: false
|
||||||
#ceph_mon_docker_interface: eth0
|
#ceph_mon_docker_interface: eth0
|
||||||
#ceph_mon_docker_subnet: # subnet of the ceph_mon_docker_interface
|
#ceph_mon_docker_subnet: # subnet of the ceph_mon_docker_interface
|
||||||
|
|
|
@ -343,6 +343,7 @@ docker: false
|
||||||
# by ceph.conf.j2 template. so it should always be defined
|
# by ceph.conf.j2 template. so it should always be defined
|
||||||
mon_containerized_deployment_with_kv: false
|
mon_containerized_deployment_with_kv: false
|
||||||
mon_containerized_deployment: false
|
mon_containerized_deployment: false
|
||||||
|
mon_containerized_default_ceph_conf_with_kv: false
|
||||||
|
|
||||||
|
|
||||||
##################
|
##################
|
||||||
|
|
|
@ -64,7 +64,8 @@ openstack_keys:
|
||||||
|
|
||||||
mon_containerized_deployment: false
|
mon_containerized_deployment: false
|
||||||
mon_containerized_deployment_with_kv: false
|
mon_containerized_deployment_with_kv: false
|
||||||
mon_containerized_default_ceph_conf_with_kv: false
|
# This is currently in ceph-common defaults because it is shared with ceph-nfs
|
||||||
|
#mon_containerized_default_ceph_conf_with_kv: false
|
||||||
ceph_mon_docker_interface: eth0
|
ceph_mon_docker_interface: eth0
|
||||||
#ceph_mon_docker_subnet: # subnet of the ceph_mon_docker_interface
|
#ceph_mon_docker_subnet: # subnet of the ceph_mon_docker_interface
|
||||||
ceph_mon_docker_username: ceph
|
ceph_mon_docker_username: ceph
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
docker:
|
docker:
|
||||||
image: "{{ ceph_rgw_docker_username }}/{{ ceph_rgw_docker_imagename }}:{{ ceph_rgw_docker_image_tag }}"
|
image: "{{ ceph_rgw_docker_username }}/{{ ceph_rgw_docker_imagename }}:{{ ceph_rgw_docker_image_tag }}"
|
||||||
name: ceph-{{ ansible_hostname }}-rgw-user
|
name: ceph-{{ ansible_hostname }}-rgw-user
|
||||||
|
hostname: "{{ ansible_hostname }}"
|
||||||
expose: "{{ ceph_rgw_civetweb_port }}"
|
expose: "{{ ceph_rgw_civetweb_port }}"
|
||||||
ports: "{{ ceph_rgw_civetweb_port }}:{{ ceph_rgw_civetweb_port }}"
|
ports: "{{ ceph_rgw_civetweb_port }}:{{ ceph_rgw_civetweb_port }}"
|
||||||
state: running
|
state: running
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
- include: create_configs.yml
|
- include: create_configs.yml
|
||||||
when:
|
when:
|
||||||
inventory_hostname == groups.nfss[0] and
|
inventory_hostname == groups.nfss[0] and
|
||||||
mon_containerized_default_ceph_conf_with_kv
|
not mon_containerized_default_ceph_conf_with_kv
|
||||||
|
|
||||||
# Copy Ganesha configs to host
|
# Copy Ganesha configs to host
|
||||||
- include: fetch_configs.yml
|
- include: fetch_configs.yml
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
- name: push ceph files to the ansible server
|
- name: push ceph files to the ansible server
|
||||||
fetch:
|
fetch:
|
||||||
src: "{{ item.0 }}"
|
src: "{{ item.0 }}"
|
||||||
dest: "{{ fetch_directory }}/docker_mon_files/var/lib/ceph/radosgw/{{ ansible_hostname }}/keyring"
|
dest: "{{ fetch_directory }}/docker_mon_files/var/lib/ceph/radosgw/keyring"
|
||||||
flat: yes
|
flat: yes
|
||||||
with_together:
|
with_together:
|
||||||
- rgw_config_keys
|
- rgw_config_keys
|
||||||
|
|
Loading…
Reference in New Issue