Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 rivejä
629 B

  1. ---
  2. - name: Fail if required Pantalaimon variables are undefined
  3. ansible.builtin.fail:
  4. msg: "The `{{ item }}` variable must be defined and have a non-null value."
  5. with_items:
  6. - "matrix_pantalaimon_homeserver_url"
  7. when: "vars[item] == '' or vars[item] is none"
  8. - name: (Deprecation) Catch and report renamed Pantalaimon variables
  9. ansible.builtin.fail:
  10. msg: >-
  11. The variable `{{ item.old }}` is deprecated. Please use `{{ item.new }}` instead.
  12. when: "item.old in vars"
  13. with_items:
  14. - {'old': 'matrix_pantalaimon_docker_image_name_prefix', 'new': 'matrix_pantalaimon_docker_image_registry_prefix'}