Sunday, 2026-02-22

tafkamaxHi12:02
tafkamaxI am trying to use this module https://docs.ansible.com/projects/ansible/latest/collections/openstack/cloud/federation_mapping_module.html12:02
tafkamaxI am trying to read a json file in and convert it to ansible vars12:03
tafkamaxTo inject to rules12:03
tafkamaxbut every time i am getting     "msg": "dictionary requested, could not parse JSON or key=value"12:03
tafkamaxIs this a known issue or what am i doing wrong?12:03
tafkamaxEven when doing it like so I get an error:... (full message at <https://matrix.org/oftc/media/v1/media/download/AcAIJfQBI0LQD0CiK7qxEggDqTSmcTMZf9g3UVVfw1-FwDaHxEyx9PzBx_-TnaDOSJ0bagHEZ7ybpfH2mK3r4VtCeczVXELAAG1hdHJpeC5vcmcvVGxoeWdTYlF4SWxicWJXQ3ZzblBTd0th>)12:04
tafkamaxso super weird12:04
tafkamaxdoing full verbose gives this error every time12:05
tafkamaxnothing really more specific12:05
tafkamaxcould it be a local cache?12:07
tafkamaxI am modyifing the files locally 12:08
tafkamaxIs this even correct? https://github.com/openstack/ansible-collections-openstack/blob/master/plugins/modules/federation_mapping.py#L20C20-L41C1912:10
tafkamaxHmm, when I changed rules from list to dictionary the error changed to  "msg": "Elements value for option 'rules' is of type str and we were unable to convert to dict: unable to evaluate string as dictionary" 12:28
tafkamaxSorry for bothering14:41
tafkamaxThis is a kolla-toolbox issue here: https://github.com/openstack/kolla-ansible/blob/master/ansible/library/kolla_toolbox.py#L12514:41
opendevreviewTaavi Ansper proposed openstack/ansible-collections-openstack master: Add authorization_ttl option for Keystone IDP.  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/97757815:30
opendevreviewTaavi Ansper proposed openstack/ansible-collections-openstack master: Add authorization_ttl option for Keystone IDP.  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/97757815:36

Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!