diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-04-29 18:26:56 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-04-29 18:26:56 +0300 |
commit | 8011cdbd1c8d70cc19057764e4fa64f3efe305c6 (patch) | |
tree | 404386c004a1e387524df77ea17d33216ca83db8 /roles | |
parent | 0016a14382b8158ed8284e9676a43753f27508a2 (diff) | |
download | ick2-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.
Diffstat (limited to 'roles')
-rw-r--r-- | roles/ick-controller/templates/controller.yaml.j2 | 2 |
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" |