Open theCalcaholic opened 3 years ago
I'm not using mx-puppet-signal, but it seems like the matrix-synapse
role does the same.
I have some custom stuff in matrix_synapse_configuration_extension_yaml
and it all seems to be working. I can't reproduce this issue.
ansible --version
:
ansible [core 2.11.0]
config file = /etc/ansible/ansible.cfg
configured module search path = ['/home/user/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.9/site-packages/ansible
ansible collection location = /home/user/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/bin/ansible
python version = 3.9.5 (default, May 12 2021, 17:14:51) [GCC 10.2.0]
jinja version = 3.0.1
libyaml = True
This is on Archlinux with ansible = 4.0.0-1
and ansible-core = 2.11.0-4
.
Perhaps you're on some other version of something or some other dependency is causing trouble.
I was using mautrix-signal not mx-puppet-signal. Anyways, I'll see if I can provide a minimal setup for the issue (otherwise, I'll close the issue).
My installed packages are:
$ pip freeze
ansible==4.0.0
ansible-core==2.11.0
cffi==1.14.5
cryptography==3.4.7
Jinja2==3.0.1
MarkupSafe==2.0.1
packaging==20.9
pycparser==2.20
pyparsing==2.4.7
PyYAML==5.4.1
resolvelib==0.5.4
(which is what I got as of yesterday from pip install ansible
)
I also ran into this error separately (just core matrix, no bridges) with the import-postgres
tag (downgrading ansible allowed things to chug along).
Description
When using the playbook with Ansible 4, there are some yaml parsing errors, e.g.:
How to reproduce
matrix_mautrix_signal_configuration_extension_yaml
Workaround/Fix
These errors can be worked around by downgrading ansible (tested with 2.10, since that's been used in my working setup on another machine) or by setting the
matrix_mautrix_*configuration
variables in multiple steps, e.g.:For the sake of completeness, here is the relevant section in the
defaults/main.yml
ofmatrix-bridge-mautrix-signal
: