ceph-ansible/library
Guillaume Abrioux 18b34a5bef ceph_key: support using different keyring
Currently the `ceph_key` module doesn't support using a different
keyring than `client.admin`.
This commit adds the possibility to use a different keyring.

Usage:
```
      ceph_key:
        name: "client.rgw.myrgw-node.rgw123"
        cluster: "ceph"
        user: "client.bootstrap-rgw"
        user_key: /var/lib/ceph/bootstrap-rgw/ceph.keyring
        dest: "/var/lib/ceph/radosgw/ceph-rgw.myrgw-node.rgw123/keyring"
        caps:
          osd: 'allow rwx'
          mon: 'allow rw'
          import_key: False
        owner: "ceph"
        group: "ceph"
        mode: "0400"
```

Where:
`user` corresponds to `-n (--name)`
`user_key` corresponds to `-k (--keyring)`

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 12e6260266)
2020-12-01 09:53:26 -05:00
..
__init__.py tests for the ceph_volume module 2017-12-11 09:58:06 -06:00
ceph_add_users_buckets.py library: flake8 ceph-ansible modules 2020-10-06 08:56:45 +02:00
ceph_crush.py library: Fix new-style modules check mode 2020-12-01 09:53:26 -05:00
ceph_facts Discover rbd facts. 2018-11-20 15:06:01 +01:00
ceph_key.py ceph_key: support using different keyring 2020-12-01 09:53:26 -05:00
ceph_volume.py library: Fix new-style modules check mode 2020-12-01 09:53:26 -05:00
config_template Using config_template 2015-12-16 17:19:50 +01:00
igw_client.py iscsi module linting 2018-10-30 14:41:36 +01:00
igw_gateway.py igw: Add check for mismatch ceph-iscsi and iscsigws.yml settings 2019-07-04 00:04:04 +00:00
igw_lun.py library: flake8 ceph-ansible modules 2020-10-06 08:56:45 +02:00
igw_purge.py library: flake8 ceph-ansible modules 2020-10-06 08:56:45 +02:00