Matrix Docker Ansible eploy
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

17 linhas
734 B

  1. ---
  2. - name: Fail if no configurations specified
  3. ansible.builtin.fail:
  4. msg: >-
  5. You need to define at least one configuration in `matrix_dynamic_dns_domain_configurations` for using matrix-dynamic-dns.
  6. when: "matrix_dynamic_dns_domain_configurations | length == 0"
  7. - name: Fail if required settings not defined in configuration blocks
  8. ansible.builtin.fail:
  9. msg: >-
  10. One of the configurations in matrix_dynamic_dns_domain_configurations is missing a required key (domain, provider, protocol).
  11. when: "'domain' not in configuration or 'provider' not in configuration or 'protocol' not in configuration"
  12. with_items: "{{ matrix_dynamic_dns_domain_configurations }}"
  13. loop_control:
  14. loop_var: configuration