This commit is contained in:
David Rotermund 2024-04-25 10:54:35 +02:00
parent c345ec7866
commit fdc334f919

View file

@ -4,6 +4,11 @@
become: true
tasks:
- name: Make sure systemd-oomd service unit is stopped
systemd_service:
state: stopped
name: systemd-oomd
- name: Install base system
include_tasks: yaml_sub/install_base_system.yaml
@ -12,15 +17,6 @@
- name: update file myrepo.repo
import_tasks: yaml_sub/myrepo_data.yaml
# - name: install movie tools
# dnf:
# name: mencoder,mmv,mplayer,HandBrake
# state: present
# update_cache: true
# skip_broken: true
# nobest: false
# allowerasing: true
- name: make sure gdm is stopped
ansible.builtin.systemd_service:
name: gdm
@ -52,7 +48,7 @@
allowerasing: true
disable_gpg_check: true
- name: Change default target to graphical.target
- name: Change default target to text
file:
src: /usr/lib/systemd/system/multi-user.target
dest: /etc/systemd/system/default.target
@ -61,5 +57,7 @@
- name: disable tracker
shell: 'for f in /etc/xdg/autostart/tracker*.desktop; do echo "Hidden=true" | tee -a "$f"; done'
- name: set cluster crontab
include_tasks: yaml_sub/set_cluster_crontab.yaml
- name: Make sure systemd-oomd service unit is started
systemd_service:
state: started
name: systemd-oomd