File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -72,5 +72,6 @@ All Ceph hosts must be in the `ceph` group.
72
72
* `cephadm_public_interface`: Public interface (mandatory)
73
73
* `cephadm_public_network`: Public network including CIDR (mandatory)
74
74
* Optional
75
+ * `cephadm_admin_interface`: Admin interface (default: use ``cephadm_public_interface``)
75
76
* `cephadm_cluster_interface`: Cluster interface (optional - if not defined ceph will not use dedicated cluster network)
76
77
* `cephadm_cluster_network`: Cluster network including CIDR (optional - if not defined ceph will not use dedicated cluster network)
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ cephadm_ssh_public_key: "/etc/ceph/cephadm.pub"
21
21
cephadm_ssh_private_key : " /etc/ceph/cephadm.id"
22
22
cephadm_ssh_user : " {{ ansible_user }}"
23
23
# Networking
24
+ cephadm_admin_interface : " {{ cephadm_public_interface }}"
24
25
cephadm_public_interface : " "
25
26
cephadm_cluster_interface : " "
26
27
cephadm_public_network : " "
Original file line number Diff line number Diff line change 2
2
---
3
3
service_type: host
4
4
hostname: {{ hostvars[host] ['ansible_hostname'] }}
5
+ addr: {{ hostvars[host] ['ansible_'~cephadm_admin_interface] ['ipv4'] ['address'] }}
5
6
labels:
6
7
{% if host in groups ['mons' ] %}
7
8
- _admin
You can’t perform that action at this time.
0 commit comments