Просмотр исходного кода

Fix regex matching against old variable names in ma1sd validation task

pull/333/head
Marcel Partap 6 лет назад
Родитель
Сommit
4172345d34
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      roles/matrix-ma1sd/tasks/validate_config.yml

+ 1
- 1
roles/matrix-ma1sd/tasks/validate_config.yml Просмотреть файл

@@ -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_.*'}

Загрузка…
Отмена
Сохранить