Skip to content

Commit

Permalink
allow setting domains manually
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Nov 19, 2024
1 parent 2fdf79c commit 3fb0ffa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ansible/fastly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3fb0ffa

Please sign in to comment.