Fix regex matching against old variable names in ma1sd validation task
This commit is contained in:
parent
e4ceeccd14
commit
4172345d34
|
@ -52,7 +52,7 @@
|
||||||
msg: >-
|
msg: >-
|
||||||
Your configuration contains a variable, which now has a different name.
|
Your configuration contains a variable, which now has a different name.
|
||||||
Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
|
Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
|
||||||
when: "item.old in vars"
|
when: "vars | dict2items | selectattr('key', 'match', item.old) | list | items2dict"
|
||||||
with_items:
|
with_items:
|
||||||
- {'old': 'matrix_ma1sd_container_expose_port', 'new': '<superseded by matrix_ma1sd_container_http_host_bind_port>'}
|
- {'old': 'matrix_ma1sd_container_expose_port', 'new': '<superseded by matrix_ma1sd_container_http_host_bind_port>'}
|
||||||
- {'old': 'matrix_mxisd_.*', 'new': 'matrix_ma1sd_.*'}
|
- {'old': 'matrix_mxisd_.*', 'new': 'matrix_ma1sd_.*'}
|
||||||
|
|
Loading…
Reference in a new issue