Skip to content
Snippets Groups Projects
Commit 997ba134 authored by ale's avatar ale
Browse files

Do not configure noblogs-ml services in test envs

parent 67a817b2
No related branches found
No related tags found
1 merge request!254test theme-link-folio
Pipeline #81859 passed
......@@ -11,15 +11,22 @@
# The noblogs.org NGINX configuration is generated by ai-scripts. Not
# so for ai-cdn.net, which we install here.
# Some of these configurations depend on optional services that might
# not be present in test environments (e.g. noblogs-ml).
- set_fact:
noblogs_static_sites:
- ai-cdn.net
- random-poster.noblogs.org
- remote-follow.noblogs.org
noblogs_static_sites_ml:
- topics.noblogs.org
- ml-coordinator.noblogs.org
- ml-export.noblogs.org
- set_fact:
noblogs_static_sites: "{{ noblogs_static_sites + noblogs_static_sites_ml }}"
when: "services['noblogs-ml'] is defined"
- name: Install nginx configuration for static NoBlogs-related sites
template:
src: "{{ item }}.conf.j2"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment