-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from brabster/enhanced-chrome-security-settings
Update chrome-prefs.json
- Loading branch information
Showing
30 changed files
with
101 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
localhost ansible_connection=local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
--- | ||
# tasks file for chrome-browser | ||
- name: Check that chrome not already installed | ||
stat: | ||
ansible.builtin.stat: | ||
path: '/usr/bin/google-chrome' | ||
register: chrome | ||
|
||
- include: tasks.yml | ||
- name: Run Playbook | ||
ansible.builtin.import_tasks: tasks.yml | ||
when: not chrome.stat.exists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
--- | ||
# tasks file for chrome-browser | ||
- name: Fetch Chrome Browser | ||
get_url: | ||
ansible.builtin.get_url: | ||
url: https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | ||
dest: /tmp/google-chrome.deb | ||
|
||
- name: Install Chrome | ||
apt: | ||
ansible.builtin.apt: | ||
deb: /tmp/google-chrome.deb | ||
|
||
- name: Ensures Chrome policy dir exists | ||
file: | ||
path: /etc/opt/chrome/policies/managed | ||
ansible.builtin.file: | ||
path: /etc/opt/chrome/policies/recommended | ||
state: directory | ||
|
||
- name: Configure Chrome Browser | ||
copy: | ||
ansible.builtin.copy: | ||
src: chrome-prefs.json | ||
dest: /etc/opt/chrome/policies/managed/prefs.json | ||
dest: /etc/opt/chrome/policies/recommended/prefs.json | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
--- | ||
- name: Install clamav | ||
package: | ||
ansible.builtin.package: | ||
name: | ||
- clamav | ||
- clamav-daemon | ||
state: present | ||
|
||
- name: Note ClamAV version and sig versions when running updates | ||
become: yes | ||
become_user: '{{ username }}' | ||
lineinfile: | ||
path: '{{ user_update_script }}' | ||
line: clamscan --version | ||
ansible.builtin.lineinfile: | ||
path: '{{ update_script }}' | ||
line: freshclam && clamscan --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
- name: Remove unneeded packages | ||
package: | ||
ansible.builtin.package: | ||
name: | ||
- thunderbird | ||
state: absent | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
--- | ||
# tasks file for lastpass | ||
- name: Check that expressvpn not already installed | ||
stat: | ||
ansible.builtin.stat: | ||
path: '{{ user_home }}/.experessvpn_is_installed' | ||
register: expressvpn | ||
|
||
- include: tasks.yml | ||
- name: Run Playbook | ||
ansible.builtin.import_tasks: tasks.yml | ||
when: not expressvpn.stat.exists | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
--- | ||
# tasks file for lastpass | ||
- name: Fetch download page | ||
get_url: | ||
ansible.builtin.get_url: | ||
url: https://vlycgtx.com/latest#linux | ||
dest: /tmp/expressvpn.html | ||
|
||
- name: "Figure out where the latest ExpressVPN .deb is" | ||
shell: cat /tmp/expressvpn.html | sed -rn 's/^.*<option .+ value="(.*)">Ubuntu 64-bit.*$/\1/p' | ||
ansible.builtin.shell: cat /tmp/expressvpn.html | sed -rn 's/^.*<option .+ value="(.*)">Ubuntu 64-bit.*$/\1/p' | ||
register: expressvpn_deb_url | ||
|
||
- name: "Fetch latest ExpressVPN Linux install" | ||
get_url: | ||
ansible.builtin.get_url: | ||
url: "{{ expressvpn_deb_url.stdout }}" | ||
dest: /tmp/expressvpn.deb | ||
|
||
- name: "Install VPN client" | ||
apt: | ||
ansible.builtin.apt: | ||
deb: /tmp/expressvpn.deb | ||
|
||
- name: Mark installed | ||
file: | ||
ansible.builtin.file: | ||
path: '{{ user_home }}/.experessvpn_is_installed' | ||
state: touch | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
--- | ||
# tasks file for firefox | ||
- name: Ensure policy directory exists | ||
file: | ||
ansible.builtin.file: | ||
path: /etc/firefox/policies | ||
state: directory | ||
|
||
- name: Setup default preferences | ||
copy: | ||
ansible.builtin.copy: | ||
src: policies.json | ||
dest: /etc/firefox/policies/policies.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
--- | ||
# tasks file for gcloud | ||
- name: Install gcloud | ||
snap: | ||
name: google-cloud-sdk | ||
classic: yes | ||
ansible.builtin.command: snap install google-cloud-sdk --classic | ||
when: in_container is not defined | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
--- | ||
# tasks file for lastpass | ||
- name: Check that lastpass not already installed | ||
stat: | ||
ansible.builtin.stat: | ||
path: '{{ user_home }}/.lastpass_is_installed' | ||
register: lastpass | ||
|
||
- include: tasks.yml | ||
- name: Run Playbook | ||
import_tasks: tasks.yml | ||
when: not lastpass.stat.exists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
--- | ||
# tasks file for lastpass | ||
- name: "Fetch latest LastPass Linux install" | ||
get_url: | ||
- name: Fetch latest LastPass Linux install | ||
ansible.builtin.get_url: | ||
url: https://download.cloud.lastpass.com/linux/lplinux.tar.bz2 | ||
dest: /tmp/lplinux.tar.bz2 | ||
|
||
- name: Create LastPass extract dir | ||
file: | ||
ansible.builtin.file: | ||
path: /tmp/lplinux | ||
state: directory | ||
|
||
- name: Decompress LastPass archive | ||
unarchive: | ||
ansible.builtin.unarchive: | ||
src: /tmp/lplinux.tar.bz2 | ||
dest: /tmp/lplinux | ||
|
||
- name: Install LastPass plugins | ||
command: ./install_lastpass.sh | ||
ansible.builtin.command: ./install_lastpass.sh | ||
args: | ||
chdir: /tmp/lplinux | ||
|
||
- name: Mark installed | ||
file: | ||
ansible.builtin.file: | ||
path: '{{ user_home }}/.lastpass_is_installed' | ||
state: touch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
- name: Setup OBS Repository | ||
ansible.builtin.apt_repository: | ||
repo: ppa:obsproject/obs-studio | ||
|
||
- name: Install OBS | ||
ansible.builtin.package: | ||
name: | ||
- obs-studio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.