ceph-ansible/roles/ceph-mon/tasks
Guillaume Abrioux 905c2256bd mon: enforce mon0 delegation for initial_mon_key register
since this task is designed to be always run on the first monitor, let's
enforce the container name accordingly otherwise it could fail like
following:

```
fatal: [mon1 -> mon0]: FAILED! => changed=true
  cmd:
  - docker
  - exec
  - ceph-mon-mon1
  - ceph
  - --cluster
  - ceph
  - --name
  - mon.
  - -k
  - /var/lib/ceph/mon/ceph-mon0/keyring
  - auth
  - get-key
  - mon.
  delta: '0:00:00.085025'
  end: '2019-06-12 06:12:27.677936'
  msg: non-zero return code
  rc: 1
  start: '2019-06-12 06:12:27.592911'
  stderr: 'Error response from daemon: No such container: ceph-mon-mon1'
  stderr_lines: <omitted>
  stdout: ''
  stdout_lines: <omitted>
```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2019-06-12 11:21:19 -04:00
..
ceph_keys.yml ansible: use 'bool' filter on boolean conditionals 2019-06-06 10:21:17 +02:00
crush_rules.yml ansible: use 'bool' filter on boolean conditionals 2019-06-06 10:21:17 +02:00
deploy_monitors.yml mon: enforce mon0 delegation for initial_mon_key register 2019-06-12 11:21:19 -04:00
main.yml ansible: use 'bool' filter on boolean conditionals 2019-06-06 10:21:17 +02:00
secure_cluster.yml rename docker_exec_cmd variable 2019-05-16 16:39:13 +02:00
start_monitor.yml ansible: use 'bool' filter on boolean conditionals 2019-06-06 10:21:17 +02:00