summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-04-29 18:26:56 +0300
committerLars Wirzenius <liw@liw.fi>2019-04-29 18:26:56 +0300
commit8011cdbd1c8d70cc19057764e4fa64f3efe305c6 (patch)
tree404386c004a1e387524df77ea17d33216ca83db8
parent0016a14382b8158ed8284e9676a43753f27508a2 (diff)
downloadick2-ansible-8011cdbd1c8d70cc19057764e4fa64f3efe305c6.tar.gz
Change: make ick controller config have apt_server optional
Old ick2 running on ci-prep doesn't want it, so can't set it unconditionally.
-rw-r--r--roles/ick-controller/templates/controller.yaml.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/ick-controller/templates/controller.yaml.j2 b/roles/ick-controller/templates/controller.yaml.j2
index 5a141e6..c54a47d 100644
--- a/roles/ick-controller/templates/controller.yaml.j2
+++ b/roles/ick-controller/templates/controller.yaml.j2
@@ -1,4 +1,6 @@
+{% if apt_domain_set|default(true) %}
apt-server: "{{ apt_domain }}"
+{% endif %}
artifact-store: "{{ artifact_store_url }}"
notify-url: "{{ notify_url }}"
auth-url: "{{ qvisqve_url }}/token"