--- copy_admin_key: True 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: 1 erasure_profile: "" expected_num_objects: "" size: "{{ osd_pool_default_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: 1 erasure_profile: "" expected_num_objects: "" size: "{{ osd_pool_default_size }}" pools: - "{{ test }}" - "{{ test2 }}"