ceph-ansible/roles
Guillaume Abrioux 3abc253fec mgr: fix enabling of mgr module on mimic
The data structure has slightly changed on mimic.

Prior to mimic, it used to be:

```
{
    "enabled_modules": [
        "status"
    ],
    "disabled_modules": [
        "balancer",
        "dashboard",
        "influx",
        "localpool",
        "prometheus",
        "restful",
        "selftest",
        "zabbix"
    ]
}
```

From mimic it looks like this:

```
{
    "enabled_modules": [
        "status"
    ],
    "disabled_modules": [
        {
            "name": "balancer",
            "can_run": true,
            "error_string": ""
        },
        {
            "name": "dashboard",
            "can_run": true,
            "error_string": ""
        }
    ]
}
```

This means we can't simply check if `item` is in `item in
_ceph_mgr_modules.disabled_modules`

the idea here is to use filter `map(attribute='name')` to build a list
when deploying mimic.

Fixes: #2766

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2018-07-03 21:19:16 +00:00
..
ceph-agent ceph-agent: Add support for the openSUSE Leap distributions 2017-11-14 10:51:23 +00:00
ceph-client ceph-client: do not kill the dummy container 2018-07-03 16:09:52 +00:00
ceph-common Enable monitor repo for mgr nodes and Tools repo for iscsi/nfs/clients 2018-06-29 18:09:26 +00:00
ceph-common-coreos syntax: change local_action syntax 2018-01-31 10:45:34 +01:00
ceph-config Generate a copy of ceph.conf locally 2018-06-28 07:39:30 +00:00
ceph-defaults ceph-defaults: add default application to pool 2018-07-02 10:28:34 +00:00
ceph-docker-common ceph-defaults: add the nautilus 14.x entry to ceph_release_num 2018-06-01 16:51:23 +02:00
ceph-fetch-keys Add ceph_keyring_permissions variable to control permissions for 2018-06-28 15:48:39 +00:00
ceph-iscsi-gw systemd: remove changed_when: false 2018-06-28 17:54:13 +02:00
ceph-mds ceph-mds: enable application pool 2018-07-02 10:28:34 +00:00
ceph-mgr mgr: fix enabling of mgr module on mimic 2018-07-03 21:19:16 +00:00
ceph-mon systemd: remove changed_when: false 2018-06-28 17:54:13 +02:00
ceph-nfs Add ceph_keyring_permissions variable to control permissions for 2018-06-28 15:48:39 +00:00
ceph-osd ceph-osd: trigger osd container restart on script change 2018-06-28 17:54:13 +02:00
ceph-rbd-mirror systemd: remove changed_when: false 2018-06-28 17:54:13 +02:00
ceph-restapi Expose /var/run/ceph 2018-04-20 15:48:32 +02:00
ceph-rgw systemd: remove changed_when: false 2018-06-28 17:54:13 +02:00
ceph-validate/tasks mdss: do not make pg_num a mandatory params 2018-05-30 16:20:34 +02:00
ceph.ceph-common rollback previous change for ceph-common change 2016-03-02 18:44:36 +01:00
ceph.ceph-docker-common ceph-docker-common: add symlink to ceph.ceph-docker-common 2017-01-16 10:42:42 -06:00