61 lines
1.1 KiB
YAML
61 lines
1.1 KiB
YAML
|
---
|
||
|
|
||
|
- name: Add gpu packages for intel
|
||
|
dnf:
|
||
|
name:
|
||
|
- intel-media-driver
|
||
|
- libva-utils
|
||
|
- libvdpau-va-gl
|
||
|
- intel-gpu-tools
|
||
|
enablerepo: rpmfusion-free
|
||
|
state: present
|
||
|
when: ansible_processor[2] == "Intel(R) Celeron(R) N5105 @ 2.00GHz"
|
||
|
become: yes
|
||
|
|
||
|
- name: Add server-only packages
|
||
|
dnf:
|
||
|
name:
|
||
|
- sqlite
|
||
|
- cockpit-machines
|
||
|
- cockpit-podman
|
||
|
- cockpit-file-sharing
|
||
|
- nfs-utils
|
||
|
- borgbackup
|
||
|
notify: enable nfs-server
|
||
|
become: yes
|
||
|
|
||
|
- name: Add pcp metric-collection packages
|
||
|
dnf:
|
||
|
name:
|
||
|
- pcp
|
||
|
- pcp-conf
|
||
|
- pcp-libs
|
||
|
- pcp-selinux
|
||
|
notify: enable pmlogger
|
||
|
become: yes
|
||
|
|
||
|
- name: Add libvirt
|
||
|
dnf:
|
||
|
name:
|
||
|
- libvirt
|
||
|
notify: enable libvirtd
|
||
|
become: yes
|
||
|
|
||
|
- name: Update smb.conf for registry
|
||
|
copy:
|
||
|
src: smb.conf
|
||
|
mode: "0644"
|
||
|
dest: /etc/samba/smb.conf
|
||
|
notify: restart smb
|
||
|
become: yes
|
||
|
|
||
|
- name: Increase max user watches
|
||
|
sysctl:
|
||
|
name: fs.inotify.max_user_watches
|
||
|
value: '524288'
|
||
|
sysctl_file: /etc/sysctl.d/max_user_watches.conf
|
||
|
sysctl_set: yes
|
||
|
state: present
|
||
|
reload: yes
|
||
|
become: yes
|