From 5781b68659c9cd24c6a213c42232d0730075925c Mon Sep 17 00:00:00 2001 From: max Date: Sun, 22 Jun 2025 16:05:49 +0200 Subject: [PATCH] Added update playbooks --- Playbooks/update-apt.yaml | 8 ++++++++ Playbooks/update-dnf.yaml | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 Playbooks/update-apt.yaml create mode 100644 Playbooks/update-dnf.yaml diff --git a/Playbooks/update-apt.yaml b/Playbooks/update-apt.yaml new file mode 100644 index 0000000..03f05fb --- /dev/null +++ b/Playbooks/update-apt.yaml @@ -0,0 +1,8 @@ +--- + +- hosts: debian + tasks: + - name: update APT packages + apt: + upgrade: yes + update_cache: yes \ No newline at end of file diff --git a/Playbooks/update-dnf.yaml b/Playbooks/update-dnf.yaml new file mode 100644 index 0000000..94cc1fe --- /dev/null +++ b/Playbooks/update-dnf.yaml @@ -0,0 +1,8 @@ +--- + +- hosts: fedora + tasks: + - name: Upgrade all packages + ansible.builtin.dnf: + name: "*" + state: latest \ No newline at end of file