Move chromium policy create to lmn_fvs task (and make sure, directory exists).
This commit is contained in:
parent
c6c67615f3
commit
f3d9b0c46f
2 changed files with 13 additions and 8 deletions
|
@ -118,6 +118,19 @@
|
|||
src: policies.json
|
||||
dest: /etc/firefox-esr/policies/
|
||||
|
||||
- name: Create chromium policies directory
|
||||
ansible.builtin.file:
|
||||
path: /etc/chromium/policies/managed
|
||||
state: directory
|
||||
mode: '0755'
|
||||
|
||||
- name: Set chromium proxy-policy to auto_detect
|
||||
copy:
|
||||
dest: /etc/chromium/policies/managed/proxy.json
|
||||
content: |
|
||||
{
|
||||
"ProxyMode": "auto_detect"
|
||||
}
|
||||
|
||||
- name: Copy some scripts
|
||||
copy:
|
||||
|
|
|
@ -9,14 +9,6 @@
|
|||
no_proxy="{{ no_proxy }}"
|
||||
when: not (groups.teacherlaptop is defined and inventory_hostname in groups.teacherlaptop)
|
||||
|
||||
- name: Set chromium proxy-policy to auto_detect
|
||||
copy:
|
||||
dest: /etc/chromium/policies/managed/proxy.json
|
||||
content: |
|
||||
{
|
||||
"ProxyMode": "auto_detect"
|
||||
}
|
||||
|
||||
- name: Set aptcache
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/apt/apt.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue