Open gaima8 opened 4 years ago
Hi,
I'm getting some behaviour that I don't understand and am an unable to debug. gluster_volumes_by_groupname_pre is being set incorrectly.
TASK [gluster.infra/roles/backend_setup : Check if vg block device exists] *********************************************************************************************************************************** fatal: [host1]: FAILED! => {"msg": "dict2items requires a dictionary, got <class 'str'> instead."}
Group devices by volume group name, including existing devices is setting gluster_volumes_by_groupname_pre to the following
Group devices by volume group name, including existing devices
gluster_volumes_by_groupname_pre
"gluster_volumes_by_groupname_pre": "NoneNoneNone{\"vg_sda\": [{\"vgname\": \"vg_sda\", \"pvname\": \"/dev/sda\"}]}"
I do have jinja2_native = True in ansible.cfg, if I take that away gluster_volumes_by_groupname_pre is set correctly.
jinja2_native = True
"gluster_volumes_by_groupname_pre": { "vg_sda": [ { "pvname": "/dev/sda", "vgname": "vg_sda" } ] }
Hi,
I'm getting some behaviour that I don't understand and am an unable to debug. gluster_volumes_by_groupname_pre is being set incorrectly.
Group devices by volume group name, including existing devices
is settinggluster_volumes_by_groupname_pre
to the followingI do have
jinja2_native = True
in ansible.cfg, if I take that awaygluster_volumes_by_groupname_pre
is set correctly.