Initial commit erasing history
This commit is contained in:
parent
e04f86fd9a
commit
7d8751ffe8
712 changed files with 7348 additions and 0 deletions
4
roles/chrome/tasks/main.yml
Normal file
4
roles/chrome/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_connection == 'winrm'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_connection == 'ssh'
|
12
roles/chrome/tasks/main_lin.yml
Normal file
12
roles/chrome/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
- name: Add Chromium not-a-snap repository
|
||||
apt_repository:
|
||||
repo: ppa:xtradeb/apps
|
||||
state: present
|
||||
update_cache: True
|
||||
validate_certs: False
|
||||
|
||||
- name: Install Chromium instead of Chrome
|
||||
apt:
|
||||
name: chromium-browser
|
||||
state: latest
|
||||
|
11
roles/chrome/tasks/main_win.yml
Normal file
11
roles/chrome/tasks/main_win.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
- name: Install Chrome
|
||||
win_chocolatey:
|
||||
name: googlechrome
|
||||
ignore_checksums: True # TODO: re-enable checksums when the package is fixed
|
||||
|
||||
- name: Disable Chrome updates
|
||||
win_regedit:
|
||||
path: HKLM:\SOFTWARE\Policies\Google\Update
|
||||
name: AutoUpdateCheckPeriodMinutes
|
||||
type: dword
|
||||
data: 0
|
Loading…
Add table
Add a link
Reference in a new issue