File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ All Ceph hosts must be in the `ceph` group.
39
39
* ` cephadm_enable_firewalld ` : If enabled - firewalld will be installed and rules will be applied (default: false)
40
40
* ` cephadm_enable_monitoring ` : If enabled - cephadm monitoring stack will be deployed i.e. prometheus/node-exporters/grafana (default: false)
41
41
* ` cephadm_image ` : If set - cephadm will use this image
42
+ * ` cephadm_haproxy_image ` : If set - cephadm will use this image for HAProxy in the ingress service
43
+ * ` cephadm_keepalived_image ` : If set - cephadm will use this image for Keepalived in the ingress service
42
44
* ` cephadm_install_ceph_cli ` : If enabled - ceph cli will be installed on the hosts (default: false)
43
45
* ` cephadm_ssh_public_key ` : Location where ssh public key used by cephadm will be saved (default: /etc/ceph/cephadm.pub)
44
46
* ` cephadm_ssh_private_key ` : Location where ssh private key used by cephadm will be saved (default: /etc/ceph/cephadm.id)
Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ cephadm_recreate: false
8
8
# Packages
9
9
cephadm_custom_repos : false
10
10
cephadm_package_update : false
11
- # Image
11
+ # Images
12
12
cephadm_image : " "
13
+ cephadm_haproxy_image : " "
14
+ cephadm_keepalived_image : " "
13
15
# Registry
14
16
cephadm_registry_url : " "
15
17
cephadm_registry_username : " "
Original file line number Diff line number Diff line change 48
48
become : true
49
49
changed_when : true
50
50
51
+ - name : Set HAProxy image
52
+ command :
53
+ cmd : " cephadm shell -- ceph config set mgr mgr/cephadm/container_image_haproxy {{ cephadm_haproxy_image }}"
54
+ when : cephadm_haproxy_image | length > 0
55
+ become : true
56
+ changed_when : true
57
+
58
+ - name : Set Keepalived image
59
+ command :
60
+ cmd : " cephadm shell -- ceph config set mgr mgr/cephadm/container_image_keepalived {{ cephadm_keepalived_image }}"
61
+ when : cephadm_keepalived_image | length > 0
62
+ become : true
63
+ changed_when : true
64
+
51
65
- name : Get cluster fsid
52
66
command :
53
67
cmd : " cephadm shell -- ceph fsid"
You can’t perform that action at this time.
0 commit comments