You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: roles/cephadm/README.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,15 @@
1
-
cephadm
2
-
=======
1
+
# cephadm
3
2
4
3
This role bootstraps and configures Ceph using cephadm.
5
4
6
-
Inventory
7
-
---------
5
+
## Prerequisites
6
+
7
+
### Host prerequisites
8
+
9
+
* The role assumes target hosts connection over SSH with user that has passwordless sudo configured.
10
+
* Either direct Internet access or private registry with desired Ceph image accessible to all hosts is required.
11
+
12
+
### Inventory
8
13
9
14
This role assumes the existence of the following groups:
10
15
@@ -19,8 +24,7 @@ Optional groups (those services will be deployed when group exists)::
19
24
20
25
All Ceph hosts must be in the `ceph` group.
21
26
22
-
Role variables
23
-
--------------
27
+
## Role variables
24
28
25
29
* General
26
30
*`cephadm_ceph_release`: Ceph release to deploy (default: octopus)
@@ -35,6 +39,7 @@ Role variables
35
39
*`cephadm_install_ceph_cli`: If enabled - ceph cli will be installed on the hosts (default: False)
36
40
*`cephadm_ssh_public_key`: Location where ssh public key used by cephadm will be saved (default: /etc/ceph/cephadm.pub)
37
41
*`cephadm_ssh_private_key`: Location where ssh private key used by cephadm will be saved (default: /etc/ceph/cephadm.id)
42
+
*`cephadm_ssh_user`: Pre-existing user name that should be used for bootstrapping the cluster. User must have passwordless sudo enabled. Since 1.4.0 (default: `ansible_user`)
38
43
* OSDs
39
44
*`cephadm_osd_devices`: List of /dev/device paths to use (e.g. for multipath devices that can't be used using an OSD spec)
40
45
Example:
@@ -56,7 +61,7 @@ Role variables
56
61
db_devices:
57
62
model: Dell Express Flash PM1725b 1.6TB SFF
58
63
```
59
-
64
+
60
65
* Registry
61
66
* `cephadm_registry_url`: (default: not used)
62
67
* `cephadm_registry_username`: (default: not used)
0 commit comments