Urejanje/usklajevanje - naprej
This commit is contained in:
parent
0fe24e8314
commit
1a0e138d17
4
roles/linroom/tasks/7zip.yml
Normal file
4
roles/linroom/tasks/7zip.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
- name: Install 7zip
|
||||||
|
apt:
|
||||||
|
name: 7zip
|
||||||
|
state: latest
|
4
roles/linroom/tasks/chrome.yml
Normal file
4
roles/linroom/tasks/chrome.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
- name: Do NOT install Chrome
|
||||||
|
apt:
|
||||||
|
name: chromium
|
||||||
|
state: latest
|
22
roles/linroom/tasks/firefox.yml
Normal file
22
roles/linroom/tasks/firefox.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
- name: Add Firefox not-a-snap repository
|
||||||
|
block:
|
||||||
|
- name: Pin Firefox PPA package priority
|
||||||
|
template:
|
||||||
|
src: mozilla-firefox-apt-preferences
|
||||||
|
dest: /etc/apt/preferences.d/mozilla-firefox
|
||||||
|
- name: Enable Firefox unattended upgrades
|
||||||
|
template:
|
||||||
|
src: mozilla-firefox-unattended-upgrades
|
||||||
|
dest: /etc/apt/apt.conf.d/51unattended-upgrades-firefox
|
||||||
|
- name: Add Firefox PPA
|
||||||
|
apt_repository:
|
||||||
|
repo: ppa:mozillateam/ppa
|
||||||
|
state: present
|
||||||
|
update_cache: True
|
||||||
|
validate_certs: False
|
||||||
|
|
||||||
|
- name: Install Firefox
|
||||||
|
apt:
|
||||||
|
name:
|
||||||
|
- firefox
|
||||||
|
state: latest
|
|
@ -1,19 +1,8 @@
|
||||||
- name: Add Firefox not-a-snap repository
|
- name: Install firefox
|
||||||
block:
|
- include_tasks: firefox.yml
|
||||||
- name: Pin Firefox PPA package priority
|
|
||||||
template:
|
- name: Install 7zip
|
||||||
src: mozilla-firefox-apt-preferences
|
- include_tasks: 7zip.yml
|
||||||
dest: /etc/apt/preferences.d/mozilla-firefox
|
|
||||||
- name: Enable Firefox unattended upgrades
|
|
||||||
template:
|
|
||||||
src: mozilla-firefox-unattended-upgrades
|
|
||||||
dest: /etc/apt/apt.conf.d/51unattended-upgrades-firefox
|
|
||||||
- name: Add Firefox PPA
|
|
||||||
apt_repository:
|
|
||||||
repo: ppa:mozillateam/ppa
|
|
||||||
state: present
|
|
||||||
update_cache: True
|
|
||||||
validate_certs: False
|
|
||||||
|
|
||||||
- name: Install generally useful packages
|
- name: Install generally useful packages
|
||||||
apt:
|
apt:
|
||||||
|
@ -148,6 +137,12 @@
|
||||||
- name: Set time to local RTC
|
- name: Set time to local RTC
|
||||||
shell: "timedatectl set-local-rtc 1 --adjust-system-clock"
|
shell: "timedatectl set-local-rtc 1 --adjust-system-clock"
|
||||||
|
|
||||||
- name: Enable Wake-on-LAN
|
- name: Install ethtool
|
||||||
import_tasks: wake-on-lan.yml
|
apt:
|
||||||
|
name: ethtool
|
||||||
|
state: latest
|
||||||
|
|
||||||
|
- name: Add udev rule to enable wake-on-lan for ethernet interfaces
|
||||||
|
copy:
|
||||||
|
dest: /etc/udev/rules.d/
|
||||||
|
src: 99-wakeonlan.rules
|
||||||
|
|
|
@ -1 +1,5 @@
|
||||||
# TODO install WinIDEA
|
- name: Install WinIdea snap
|
||||||
|
community.general.snap:
|
||||||
|
name:
|
||||||
|
- winidea
|
||||||
|
classic: true
|
||||||
|
|
Loading…
Reference in a new issue