From b7987c5092eb5ba791138edb073cef4ba1e551cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ndor?= Date: Thu, 19 Sep 2024 19:40:58 +0200 Subject: [PATCH] Add playbooks/update-yum-dima.yaml --- playbooks/update-yum-dima.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 playbooks/update-yum-dima.yaml diff --git a/playbooks/update-yum-dima.yaml b/playbooks/update-yum-dima.yaml new file mode 100644 index 0000000..db0f16f --- /dev/null +++ b/playbooks/update-yum-dima.yaml @@ -0,0 +1,16 @@ +--- +- hosts: all + + become: true + tasks: + - name: install updates except sql + yum: + name: '*' + state: latest + update_cache: yes + exclude: + - mysql-server + - mysql + - mariadb-server + - mariadb + when: ansible_os_family == "RedHat" \ No newline at end of file