]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
update: support --limit on monitor nodes
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 28 Oct 2021 14:17:24 +0000 (16:17 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 28 Oct 2021 19:47:01 +0000 (21:47 +0200)
commit82eee4303bce3e41b5043bcb03fa3143dcdfd30d
tree5e681877a61b9ccca00e15dde7214b4b610374d9
parent4f2c2af9b4de8a35e7db2894956d625e69488c34
update: support --limit on monitor nodes

Change needed in order to support --limit on mon nodes.
Otherwise, a call to `hostvars[groups[mon_group_name][0]]['_current_monitor_address']`
throws an error:

```
"The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute '_current_monitor_address'"
```

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2014304#c28
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
infrastructure-playbooks/rolling_update.yml
roles/ceph-facts/tasks/set_monitor_address.yml
tox-subset_update.ini