Add files via upload

This commit is contained in:
David Rotermund 2024-03-29 01:57:37 +01:00 committed by GitHub
parent ea0b0d13a2
commit 78aca75f8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

46
hourly_update.yaml Normal file
View file

@ -0,0 +1,46 @@
---
- name: install our repos
hosts: all
become: true
tasks:
- name: Make sure systemd-oomd service unit is stopped
systemd_service:
state: stopped
name: systemd-oomd
- name: remove other files
include_tasks: yaml_sub/myrepo_clean.yaml
- name: update file myrepo.repo
import_tasks: yaml_sub/myrepo_data.yaml
- name: update system (base)
dnf:
name: "*"
state: latest
update_cache: true
skip_broken: true
nobest: false
allowerasing: true
- name: remove other files
include_tasks: yaml_sub/myrepo_clean.yaml
- name: update file myrepo.repo
import_tasks: yaml_sub/myrepo_data.yaml
- name: update system (all repo)
dnf:
name: "*"
state: latest
update_cache: true
skip_broken: true
nobest: false
allowerasing: true
enablerepo: "*"
- name: Make sure systemd-oomd service unit is started
systemd_service:
state: started
name: systemd-oomd