diff --git a/install_cluster_node.yaml b/update_jobs/install_node_packages.yaml similarity index 79% rename from install_cluster_node.yaml rename to update_jobs/install_node_packages.yaml index 0c79d18..8097b97 100644 --- a/install_cluster_node.yaml +++ b/update_jobs/install_node_packages.yaml @@ -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