2017-06-09 16:31:28 +00:00
|
|
|
roles:
|
|
|
|
- [mon.a, mgr.x, osd.0, osd.1, osd.2, mds.a, client.a]
|
|
|
|
tasks:
|
|
|
|
- install:
|
|
|
|
- ceph:
|
|
|
|
- exec:
|
|
|
|
mon.a:
|
|
|
|
- ceph config-key put mgr/restful/x/server_addr 127.0.0.1
|
|
|
|
- ceph config-key put mgr/restful/x/server_port 9999
|
|
|
|
- ceph tell mgr.x restful create-key admin
|
2017-06-22 01:09:58 +00:00
|
|
|
- ceph tell mgr.x restful create-self-signed-cert
|
2017-06-09 16:31:28 +00:00
|
|
|
- ceph.restart: [mgr.x]
|
|
|
|
- workunit:
|
|
|
|
clients:
|
|
|
|
client.a:
|
|
|
|
- rest/test-restful.sh
|