Checkpoint
This commit is contained in:
parent
c501435876
commit
6f5266b63d
42 changed files with 652 additions and 136 deletions
60
roles/server/tasks/main.yml
Normal file
60
roles/server/tasks/main.yml
Normal file
|
@ -0,0 +1,60 @@
|
|||
---
|
||||
|
||||
- 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
|
Loading…
Add table
Add a link
Reference in a new issue