Skip to content

Commit

Permalink
test policies work correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
brabster committed Mar 16, 2024
1 parent 7ca22fd commit 4fa3167
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions roles/chrome-browser/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
https://support.google.com/chrome/a/answer/9027408?hl=en
https://chromeenterprise.google/policies/
3 changes: 2 additions & 1 deletion roles/chrome-browser/files/chrome-prefs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
"AutoFillEnabled": false,
"PasswordManagerEnabled": false,
"DefaultBrowserSettingEnabled": false,
"DnsOverHttpsMode": "secure",
"HttpsOnlyMode": "force_enabled",
"AdvancedProtectionAllowed": true,
"DownloadRestrictions": 4,
"SafeBrowsingProtectionLevel": 2,
"DefaultJavaScriptJitSetting": 2,
"ExtensionInstallForcelist": [
"nngceckbapebfimnlniiiahkandclblb",
"aeblfdkhhhdcdjpifhhbdiojplfjncoa"
Expand Down
4 changes: 2 additions & 2 deletions roles/chrome-browser/tasks/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@

- name: Ensures Chrome policy dir exists
file:
path: /etc/opt/chrome/policies/managed
path: /etc/opt/chrome/policies/recommended
state: directory

- name: Configure Chrome Browser
copy:
src: chrome-prefs.json
dest: /etc/opt/chrome/policies/managed/prefs.json
dest: /etc/opt/chrome/policies/recommended/prefs.json



0 comments on commit 4fa3167

Please sign in to comment.