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

21 строка
746 B

  1. # SPDX-FileCopyrightText: 2022 Slavi Pantaleev
  2. #
  3. # SPDX-License-Identifier: AGPL-3.0-or-later
  4. ---
  5. - name: Fail if invalid username
  6. ansible.builtin.fail:
  7. msg: "Empty usernames values are not allowed ({{ user }})"
  8. when: not (user.username | default(''))
  9. - name: Fail if invalid initial_password for user - {{ user.username }}
  10. ansible.builtin.fail:
  11. msg: "Empty initial_password values are not allowed"
  12. when: not (user.initial_password | default(''))
  13. - name: Fail if invalid initial_type for user - {{ user.username }}
  14. ansible.builtin.fail:
  15. msg: "User initial_type `{{ user.initial_type | default('undefined') }}` is not supported"
  16. when: user.initial_type | default('undefined') not in ['admin', 'user', 'bot', 'support']