ceph-ansible/roles/ceph-defaults/tasks
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
..
check_running_cluster.yml defaults: rename check_socket files for containers 2018-01-10 15:44:47 +01:00
check_running_containers.yml defaults: rename check_socket files for containers 2018-01-10 15:44:47 +01:00
check_socket_non_container.yml default: look for the right return code on socket stat in-use 2017-12-14 16:59:14 +01:00
facts.yml containers: fix bug when looking for existing cluster 2018-01-10 16:23:18 +01:00
main.yml defaults: rename check_socket files for containers 2018-01-10 15:44:47 +01:00