-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix setting HTTPS?_PROXY for receptor (#22)
This change also introduced per-receptor-instance environment files instead of setting the proxy directly in the template systemd unit.
- Loading branch information
1 parent
602c15c
commit 2bf6c63
Showing
2 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,6 +106,15 @@ | |
tags: register_with_sources | ||
- name: Create Receptor systemd unit files per account and start them | ||
block: | ||
- name: Genereate environment files | ||
copy: | ||
dest: "{{ receptor_config_dir }}/{{ account_dir }}/receptor.env" | ||
content: | | ||
HTTP_PROXY={{ http_proxy }} | ||
HTTPS_PROXY={{ http_proxy }} | ||
loop: "{{ account_dirs }}" | ||
loop_control: | ||
loop_var: account_dir | ||
- name: Generate template unit file | ||
template: | ||
src: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters