--- ########### # GENERAL # ########### copy_admin_key: false user_config: false pools: - { name: test, pgs: "{{ ceph_conf_overrides.global.osd_pool_default_pg_num }}" } - { name: test2, pgs: "{{ ceph_conf_overrides.global.osd_pool_default_pg_num }}" } # Can add `mds_cap` attribute to override the default value which is '' for mds capabilities. # To have have ansible setfacl the generated key for $user, set the acls var like so: # acls: ["u:$user:r--"] # # Generate a keyring using ceph-authtool CLI or python. # Eg: # $ ceph-authtool --gen-print-key # or # $ python2 -c "import os ; import struct ; import time; import base64 ; key = os.urandom(16) ; header = struct.pack('