Dodan AD join za Linux... morda ne na pravo mesto
This commit is contained in:
parent
8481701278
commit
3fd45fd333
13 changed files with 202 additions and 21 deletions
|
@ -1 +0,0 @@
|
|||
# TODO install NetBeans
|
|
@ -1,15 +0,0 @@
|
|||
- name: Add VS repository
|
||||
block:
|
||||
- name: VS repo - apt key
|
||||
ansible.builtin.get_url:
|
||||
url: https://packages.microsoft.com/keys/microsoft.asc
|
||||
dest: /etc/apt/trusted.gpg.d/microsoft_key.asc
|
||||
- name: VS repo - url
|
||||
ansible.builtin.apt_repository:
|
||||
repo: "deb https://packages.microsoft.com/repos/vscode stable main"
|
||||
state: present
|
||||
- name: Install VSCode
|
||||
ansible.builtin.apt:
|
||||
name: code
|
||||
state: latest
|
||||
# TODO: dodaj potrebne plugine
|
|
@ -1,3 +1,20 @@
|
|||
- 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 generally useful packages
|
||||
apt:
|
||||
name:
|
||||
|
@ -33,19 +50,47 @@
|
|||
- git-cola
|
||||
- kdiff3
|
||||
- thonny
|
||||
- ttf-mscorefonts-installer
|
||||
- libhivex-bin
|
||||
state: latest
|
||||
update_cache: yes
|
||||
|
||||
- name: Remove broken or unnecessary packages
|
||||
apt:
|
||||
name:
|
||||
- xfce4-screensaver
|
||||
- xscreensaver
|
||||
state: absent
|
||||
|
||||
- name: Set up additional groups for students
|
||||
vars:
|
||||
additional_groups:
|
||||
- wireshark
|
||||
- kvm
|
||||
- dialout
|
||||
- libvirt
|
||||
- vboxusers
|
||||
- ubridge
|
||||
- docker
|
||||
block:
|
||||
- name: create user@.service.d
|
||||
file:
|
||||
path: /etc/systemd/system/user@.service.d
|
||||
state: directory
|
||||
- name: override groups
|
||||
- name: override groups in systemd
|
||||
template:
|
||||
src: systemd_group_override.conf
|
||||
dest: /etc/systemd/system/user@.service.d/override.conf
|
||||
- name: create /etc/security/group.conf
|
||||
template:
|
||||
src: security_group.conf
|
||||
dest: /etc/security/group.conf
|
||||
- name: create pam config for libpam_group
|
||||
template:
|
||||
src: pamconfig_groups
|
||||
dest: /usr/share/pam-configs/groups
|
||||
- name: enable libpam_group
|
||||
shell: pam-auth-update --enable groups
|
||||
|
||||
- name: Set default keyboard layout to SI
|
||||
template:
|
||||
|
@ -60,3 +105,10 @@
|
|||
src: intel-wol.rules
|
||||
dest: /etc/udev/rules.d/79-wol.rules
|
||||
|
||||
- name: Join AD
|
||||
shell: "realm join --user=ad.join@FRI1.UNI-LJ.SI --computer-ou=OU=Ucilnice FRI1.UNI-LJ.SI"
|
||||
|
||||
- name: Fix SSSD config
|
||||
template:
|
||||
src: sssd.conf
|
||||
dest: /etc/sssd/sssd.conf
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
# TODO install MySQL ODBC adapter
|
|
@ -1 +0,0 @@
|
|||
# TODO install Pelles
|
|
@ -1 +0,0 @@
|
|||
# TODO install Weka 3
|
Loading…
Add table
Add a link
Reference in a new issue