mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-31 15:48:57 +02:00
Moved browser extensions to configuration
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"policies": {
|
||||
"Extensions": {
|
||||
"Install": [
|
||||
"https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi",
|
||||
"https://addons.mozilla.org/firefox/downloads/latest/keepassxc-browser/latest.xpi"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -11,7 +11,7 @@
|
||||
mode: '0755'
|
||||
|
||||
- name: Deploy Firefox Enterprise Policies file
|
||||
copy:
|
||||
src: policies.json
|
||||
template:
|
||||
src: policies.json.j2
|
||||
dest: "{{ firefox_policy_file }}"
|
||||
mode: '0644'
|
||||
|
12
roles/pc-browser-firefox/templates/policies.json.j2
Normal file
12
roles/pc-browser-firefox/templates/policies.json.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"policies": {
|
||||
"Extensions": {
|
||||
"Install": [
|
||||
{% for plugin in applications[application_id].plugins -%}
|
||||
"{{ plugin }}"{% if not loop.last %},{% endif %}
|
||||
{% endfor %}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user