2017-09-05 05:03:58 +08:00
|
|
|
---
|
|
|
|
copy_admin_key: true
|
2017-12-12 18:25:26 +08:00
|
|
|
keys:
|
|
|
|
- { name: client.test, key: "AQAin8tUoMPDGRAACcfAQHbq4eTuUoTCZdW1Uw==", mon_cap: "allow r", osd_cap: "allow class-read object_prefix rbd_children, allow rwx pool=test", mode: "0600", acls: [] }
|
|
|
|
- { name: client.test2, key: "AQAin8tUAJkGGhAA8WZ8Lz5c7IkT8QZ5s7bI1A==", mon_cap: "allow r", osd_cap: "allow class-read object_prefix rbd_children, allow rwx pool=test2", mode: "0600", acls: [] }
|
2018-03-08 00:28:20 +08:00
|
|
|
user_config: True
|
|
|
|
test:
|
|
|
|
name: "test"
|
|
|
|
pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}"
|
|
|
|
pgp_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}"
|
|
|
|
rule_name: "HDD"
|
|
|
|
type: "replicated"
|
|
|
|
erasure_profile: ""
|
|
|
|
size: ""
|
|
|
|
test2:
|
|
|
|
name: "test2"
|
|
|
|
pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}"
|
|
|
|
pgp_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}"
|
|
|
|
rule_name: "HDD"
|
|
|
|
type: "replicated"
|
|
|
|
erasure_profile: ""
|
|
|
|
size: ""
|
|
|
|
pools:
|
|
|
|
- "{{ test }}"
|
|
|
|
- "{{ test2 }}"
|