Skip to content
Snippets Groups Projects
Commit 966546af authored by Emmanuel Cohen's avatar Emmanuel Cohen
Browse files

Merge branch 't33676-fix-molecule-test-mediaserver-ha' into 'master'

ansible mediaserver: only use realip when variable is defined, refs #33676

See merge request mediaserver/envsetup!45
parents 6d2184a9 14759db6
No related branches found
No related tags found
No related merge requests found
......@@ -179,6 +179,7 @@
notify: restart nginx
when:
- groups['mediaserver'] | length > 1
- real_ip_from
template:
src: realip.conf.j2
dest: /etc/nginx/conf.d/realip.conf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment