Update
This commit is contained in:
parent
c345ec7866
commit
fdc334f919
1 changed files with 10 additions and 12 deletions
|
@ -4,6 +4,11 @@
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Make sure systemd-oomd service unit is stopped
|
||||||
|
systemd_service:
|
||||||
|
state: stopped
|
||||||
|
name: systemd-oomd
|
||||||
|
|
||||||
- name: Install base system
|
- name: Install base system
|
||||||
include_tasks: yaml_sub/install_base_system.yaml
|
include_tasks: yaml_sub/install_base_system.yaml
|
||||||
|
|
||||||
|
@ -12,15 +17,6 @@
|
||||||
- name: update file myrepo.repo
|
- name: update file myrepo.repo
|
||||||
import_tasks: yaml_sub/myrepo_data.yaml
|
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
|
- name: make sure gdm is stopped
|
||||||
ansible.builtin.systemd_service:
|
ansible.builtin.systemd_service:
|
||||||
name: gdm
|
name: gdm
|
||||||
|
@ -52,7 +48,7 @@
|
||||||
allowerasing: true
|
allowerasing: true
|
||||||
disable_gpg_check: true
|
disable_gpg_check: true
|
||||||
|
|
||||||
- name: Change default target to graphical.target
|
- name: Change default target to text
|
||||||
file:
|
file:
|
||||||
src: /usr/lib/systemd/system/multi-user.target
|
src: /usr/lib/systemd/system/multi-user.target
|
||||||
dest: /etc/systemd/system/default.target
|
dest: /etc/systemd/system/default.target
|
||||||
|
@ -61,5 +57,7 @@
|
||||||
- name: disable tracker
|
- name: disable tracker
|
||||||
shell: 'for f in /etc/xdg/autostart/tracker*.desktop; do echo "Hidden=true" | tee -a "$f"; done'
|
shell: 'for f in /etc/xdg/autostart/tracker*.desktop; do echo "Hidden=true" | tee -a "$f"; done'
|
||||||
|
|
||||||
- name: set cluster crontab
|
- name: Make sure systemd-oomd service unit is started
|
||||||
include_tasks: yaml_sub/set_cluster_crontab.yaml
|
systemd_service:
|
||||||
|
state: started
|
||||||
|
name: systemd-oomd
|
Loading…
Reference in a new issue