]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
don't access other node's docker_exec_cmd variable
authorRishabh Dave <ridave@redhat.com>
Sun, 28 Apr 2019 16:42:45 +0000 (22:12 +0530)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 7 May 2019 10:37:48 +0000 (12:37 +0200)
commit89748d579af9e5fb16aa4443198a4de0cf9cd39c
tree49b3e202c06f6f0caa47ef108e585191a862b01b
parentf2012224475dc7b8352ed4b179c1d5f1aac55a50
don't access other node's docker_exec_cmd variable

Except for some corner case, it's not correct to access some other
node's copy of variable docker_exec_cmd. Therefore replace
"hostvars[groups[mon_group_name][0]]['docker_exec_cmd']" by
"docker_exec_cmd".

Signed-off-by: Rishabh Dave <ridave@redhat.com>
roles/ceph-mds/tasks/create_mds_filesystems.yml
roles/ceph-mon/tasks/deploy_monitors.yml
roles/ceph-osd/tasks/openstack_config.yml