ceph-ansible/library
Mathias Chapelain 471bab902f library: Add radosgw_caps to manage capabilities
This commit add `radosgw_caps` module to be able to manage RadosGW users
capabilities.

Usage from module's documentation:
```YAML
- name: add users read write and all buckets capabilities
  radosgw_caps:
    name: foo
    state: present
    caps:
      - users=read,write
      - buckets=*
- name: remove usage write capabilities
  radosgw_caps:
    name: foo
    state: absent
    caps:
      - usage=write
```

This module support check mode by simulating the original `radosgw-admin`
behavior when adding capabilities.

Signed-off-by: Mathias Chapelain <mathias.chapelain@proton.ch>
(cherry picked from commit 65003f4ff9)
2022-02-17 09:27:54 +01: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 2021-07-07 13:16:04 +02:00
ceph_crush.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
ceph_crush_rule.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
ceph_dashboard_user.py library: exit on user creation failure 2021-08-03 13:27:54 -04:00
ceph_ec_profile.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
ceph_fs.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
ceph_key.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
ceph_mgr_module.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
ceph_osd.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
ceph_osd_flag.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
ceph_pool.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
ceph_volume.py ceph_volume: support overriding bind-mounts 2021-11-30 21:04:31 +01:00
ceph_volume_simple_activate.py library: use exit_module from ca_common 2020-11-26 09:13:31 +01:00
ceph_volume_simple_scan.py library: use exit_module from ca_common 2020-11-26 09:13:31 +01:00
cephadm_adopt.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
cephadm_bootstrap.py cephadm: set allow_overwrite at bootstrap step 2022-02-16 12:53:33 +01:00
config_template Using config_template 2015-12-16 17:19:50 +01:00
igw_client.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
igw_gateway.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
igw_lun.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
igw_purge.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
radosgw_caps.py library: Add radosgw_caps to manage capabilities 2022-02-17 09:27:54 +01:00
radosgw_realm.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
radosgw_user.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
radosgw_zone.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00
radosgw_zonegroup.py library: flake8 ceph-ansible modules 2021-07-07 13:16:04 +02:00