many changes
This commit is contained in:
parent
d4cb32b9c3
commit
dccf8ca00e
22 changed files with 297 additions and 133 deletions
|
@ -3,9 +3,9 @@
|
|||
lineinfile:
|
||||
dest: /etc/yum.conf
|
||||
regexp: "^proxy="
|
||||
insertafter: "^[main]"
|
||||
line: "proxy=http://[2001:470:6d:22c::1]:3128"
|
||||
|
||||
|
||||
- name: ensure wgetrc exists
|
||||
file:
|
||||
path: /etc/wgetrc
|
||||
|
@ -49,7 +49,6 @@
|
|||
- { regexp: '^http_proxy', line: 'http_proxy=http://[2001:470:6d:22c::1]:3128' }
|
||||
- { regexp: '^https_proxy', line: 'https_proxy=http://[2001:470:6d:22c::1]:3128' }
|
||||
|
||||
|
||||
- name: ensure systemd conf folder exists
|
||||
file:
|
||||
path: /etc/systemd/system.conf.d
|
||||
|
@ -64,4 +63,4 @@
|
|||
lineinfile:
|
||||
dest: /etc/systemd/system.conf.d/10-default-env.conf
|
||||
regexp: "^DefaultEnvironment=HTTP_PROXY"
|
||||
line: "DefaultEnvironment=HTTP_PROXY=http://[2001:470:6d:22c::1]:3128"
|
||||
line: "DefaultEnvironment=HTTP_PROXY=http://[2001:470:6d:22c::1]:3128"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue