Skip to content

Commit 732710c

Browse files
committed
make systemd proxy config idempotent (and clearer)
1 parent 269f0f4 commit 732710c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ansible/roles/proxy/tasks/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@
4343
path: /etc/systemd/system.conf.d/90-proxy.conf
4444
section: Manager
4545
option: DefaultEnvironment
46-
value: >
47-
"http_proxy={{ proxy_http_proxy }}" "https_proxy={{ proxy_http_proxy }}" "no_proxy={{ proxy_no_proxy }}"
46+
value: >-
47+
"http_proxy={{ proxy_http_proxy }}"
48+
"https_proxy={{ proxy_http_proxy }}"
49+
"no_proxy={{ proxy_no_proxy }}"
4850
no_extra_spaces: true
4951
owner: root
5052
group: root

0 commit comments

Comments
 (0)