Install KDE Plasma on FreeBSD
This commit is contained in:
parent
e2db055204
commit
ea573c0694
3 changed files with 53 additions and 1 deletions
38
roles/freebsd/tasks/kde.yml
Normal file
38
roles/freebsd/tasks/kde.yml
Normal file
|
@ -0,0 +1,38 @@
|
|||
---
|
||||
# Copyright 2021-2023 Anthony Perkins
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Install KDE Plasma packages
|
||||
become: true
|
||||
community.general.pkgng:
|
||||
name: kde5,sddm
|
||||
state: present
|
||||
- name: Start dbus at boot
|
||||
become: true
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/rc.conf
|
||||
regexp: '^dbus_enable=.*'
|
||||
line: 'dbus_enable="YES"'
|
||||
- name: Start SDDM at boot
|
||||
become: true
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/rc.conf
|
||||
regexp: '^sddm_enable=.*'
|
||||
line: 'sddm_enable="YES"'
|
||||
- name: Set SDDM keyboard language
|
||||
become: true
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/rc.conf
|
||||
regexp: '^sddm_lang=.*'
|
||||
line: 'sddm_lang="en_GB"'
|
|
@ -23,5 +23,5 @@
|
|||
when: gui == true
|
||||
- import_tasks: qemu-guest.yml
|
||||
when: ansible_virtualization_role == "guest" and ansible_virtualization_type == "kvm"
|
||||
- import_tasks: gnome.yml
|
||||
- import_tasks: kde.yml
|
||||
when: gui == true
|
||||
|
|
|
@ -41,3 +41,17 @@
|
|||
value: '0'
|
||||
sysctl_set: yes
|
||||
sysctl_file: /etc/sysctl.conf.local
|
||||
- name: Increase net.local.stream.recvspace messages size
|
||||
become: true
|
||||
ansible.posix.sysctl:
|
||||
name: net.local.stream.recvspace
|
||||
value: '65536'
|
||||
sysctl_set: yes
|
||||
sysctl_file: /etc/sysctl.conf.local
|
||||
- name: Increase net.local.stream.sendspace messages size
|
||||
become: true
|
||||
ansible.posix.sysctl:
|
||||
name: net.local.stream.sendspace
|
||||
value: '65536'
|
||||
sysctl_set: yes
|
||||
sysctl_file: /etc/sysctl.conf.local
|
||||
|
|
Loading…
Reference in a new issue