ceph-ansible/roles/ceph-defaults
Guillaume Abrioux 900f447c82 containers: fix bug when looking for existing cluster
When containerized deployment, `docker_exec_cmd` is not set before the
task which try to retrieve the current fsid is played, it means it
considers there is no existing fsid and try to generate a new one.

Typical error:

```
ok: [mon0 -> mon0] => {
    "changed": false,
    "cmd": [
        "ceph",
        "--connect-timeout",
        "3",
        "--cluster",
        "test",
        "fsid"
    ],
    "delta": "0:00:00.179909",
    "end": "2018-01-09 10:36:58.759846",
    "failed": false,
    "failed_when_result": false,
    "rc": 1,
    "start": "2018-01-09 10:36:58.579937"
}

STDERR:

Error initializing cluster client: Error('error calling conf_read_file: errno EINVAL',)
```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2018-01-10 16:23:18 +01:00
..
defaults firewall: add mds, nfs, restapi and iscsi ports, remove 'configure_firewall' variable used for conditional execution. Include the task only on rpm-based systems. 2017-12-12 23:44:55 +01:00
handlers handlers: restart daemons only if docker is running 2017-11-27 14:59:30 +01:00
meta update meta for ansible galaxy 2017-08-25 00:05:44 +02:00
tasks containers: fix bug when looking for existing cluster 2018-01-10 16:23:18 +01:00
templates Convert interface names to underscores for facts 2017-12-12 09:03:40 +01:00
README.md Cleanup readme files in roles directories 2017-10-17 11:22:06 +02:00

README.md

Ansible role: ceph-defaults

Documentation is available at http://docs.ceph.com/ceph-ansible/.