From 3fb0ffa844f094bbe2eb8e8439905d7ec4c0b9d5 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Tue, 19 Nov 2024 08:48:30 +0100 Subject: [PATCH] allow setting domains manually --- ansible/fastly.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ansible/fastly.yml b/ansible/fastly.yml index 69ee3203b..b96f34171 100644 --- a/ansible/fastly.yml +++ b/ansible/fastly.yml @@ -10,8 +10,7 @@ fastly_service: name: "{{ item.service }}.theforeman.org" fastly_api_key: "{{ fastly_api_key }}" - domains: - - name: "{{ item.service }}.theforeman.org" + domains: "{{ item.domains | default([{'name': item.service ~ '.theforeman.org'}]) }}" backends: - name: "{{ item.backend | default('web01.osuosl') }}.theforeman.org" address: "{{ item.backend | default('web01.osuosl') }}.theforeman.org"