Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

28 строки
1.1 KiB

  1. ---
  2. - name: Fail if required Postgres settings not defined
  3. ansible.builtin.fail:
  4. msg: >-
  5. You need to define a required configuration setting (`{{ item }}`).
  6. when: "vars[item] == ''"
  7. with_items:
  8. - "matrix_postgres_backup_connection_hostname"
  9. - "matrix_postgres_backup_connection_username"
  10. - "matrix_postgres_backup_connection_password"
  11. - "matrix_postgres_backup_connection_port"
  12. - "matrix_postgres_backup_schedule"
  13. - "matrix_postgres_backup_keep_days"
  14. - "matrix_postgres_backup_keep_weeks"
  15. - "matrix_postgres_backup_keep_months"
  16. - "matrix_postgres_backup_path"
  17. - "matrix_postgres_backup_databases"
  18. - name: (Deprecation) Catch and report renamed settings
  19. ansible.builtin.fail:
  20. msg: >-
  21. Your configuration contains a variable, which now has a different name.
  22. Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
  23. when: "item.old in vars"
  24. with_items:
  25. - {'old': 'matrix_postgres_backup_docker_image_suffix', 'new': 'matrix_postgres_backup_docker_image_distro'}