This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
lilik_playbook
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
use filter when finding reverse proxy destionation
python3
Edoardo Putti
6 years ago
parent
15aa44e5b6
commit
7c32a6a7be
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
roles/reverse_proxy/templates/upstream.j2
+ 1
- 1
roles/reverse_proxy/templates/upstream.j2
View File
@ -1,3 +1,3 @@
upstream {{ hostname }}_https {
upstream {{ hostname }}_https {
server {{ hostvars
[ansible_hostname]['ansible_host']
}}:443;
server {{ hostvars
| ip_from_inventory(ansible_hostname)
}}:443;
}
}
Write
Preview
Loading…
Cancel
Save