- block:
  - name: Include dependency 'srv-web-7-6-https'
    include_role:
      name: srv-web-7-6-https
    when: run_once_srv_web_7_6_https is not defined
  - include_tasks: utils/run_once.yml
  when: run_once_web_opt_rdr_domains is not defined

- name: "Include domains redirects"
  include_tasks: redirect-domain.yml
  vars:
    domain: "{{ item.source }}"
    target: "{{ item.target }}"
  loop: "{{ redirect_domain_mappings }}"
