ceph-ansible/roles/ceph-validate/tasks
Guillaume Abrioux 71a5e666e3 rgw: multisite refact
Add the possibility to deploy rgw multisite configuration with a mix of
secondary and primary zones on a same rgw node.
Before that, on a same node, all instances were either primary
zones *OR* secondary.

Now you can define a rgw instance like following:

```
rgw_instances:
  - instance_name: 'rgw0'
    rgw_zonemaster: false
    rgw_zonesecondary: true
    rgw_zonegroupmaster: false
    rgw_realm: 'france'
    rgw_zonegroup: 'zonegroup-france'
    rgw_zone: paris-00
    radosgw_address: "{{ _radosgw_address }}"
    radosgw_frontend_port: 8080
    rgw_zone_user: jacques.chirac
    rgw_zone_user_display_name: "Jacques Chirac"
    system_access_key: P9Eb6S8XNyo4dtZZUUMy
    system_secret_key: qqHCUtfdNnpHq3PZRHW5un9l0bEBM812Uhow0XfB
    endpoint: http://192.168.101.12:8080
```

Basically it's now possible to define `rgw_zonemaster`,
`rgw_zonesecondary` and `rgw_zonegroupmaster` at the intsance
level instead of the whole node level.

Also, this commit adds an option `deploy_secondary_zones` (default True)
which can be set to `False` in order to explicitly ask the playbook to
not deploy secondary zones in case where the corresponding endpoint are
not deployed yet.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1915478

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2021-01-27 15:46:43 +01:00
..
check_devices.yml validate: prevent from installing OSD on same disk as the OS 2019-10-10 08:33:20 -04:00
check_eth_mon.yml improve coding style 2019-04-23 15:37:07 +02:00
check_eth_rgw.yml improve coding style 2019-04-23 15:37:07 +02:00
check_ipaddr_mon.yml Replace ipaddr() with ips_in_ranges() 2019-09-27 10:11:53 +02:00
check_iscsi.yml ceph-facts: set use_new_ceph_iscsi on iscsi nodes 2019-12-10 23:57:03 +01:00
check_nfs.yml add missing boolean filter 2020-09-28 20:45:01 +02:00
check_pools.yml osd: add pg autoscaler support 2020-03-04 09:29:01 -05:00
check_rbdmirror.yml ceph-validate: add rbdmirror validation 2019-11-07 08:57:43 -05:00
check_rgw_multisite.yml rgw: multisite refact 2021-01-27 15:46:43 +01:00
check_rgw_pools.yml ceph-validate: Expand templates in rgw_create_pools 2020-05-11 11:51:27 -04:00
check_system.yml ceph-validate: Fix "fail on unsupported CentOS release" 2020-05-08 10:21:11 -04:00
main.yml validate: check virtual_ips variable 2021-01-12 11:03:12 +01:00