matrix-ma1sd/tasks/validate_config.yml: can ansible process regex in when statements?

This commit is contained in:
Marcel Partap 2020-04-02 10:55:35 +02:00
parent ed34d0ac39
commit 92672f8949

View File

@ -55,3 +55,4 @@
when: "item.old in vars" when: "item.old in vars"
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_.*'}