Matrix Docker Ansible eploy
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

13 行
540 B

  1. ---
  2. - name: Fail if required Honoroit settings not defined
  3. ansible.builtin.fail:
  4. msg: >-
  5. You need to define a required configuration setting (`{{ item.name }}`).
  6. when: "item.when | bool and vars[item.name] == ''"
  7. with_items:
  8. - {'name': 'matrix_bot_honoroit_homeserver', when: true}
  9. - {'name': 'matrix_bot_honoroit_password', when: true}
  10. - {'name': 'matrix_bot_honoroit_roomid', when: true}
  11. - {'name': 'matrix_bot_honoroit_database_hostname', when: "{{ matrix_bot_honoroit_database_engine == 'postgres' }}"}