From 18591ff23c957bdd183cf9a4aece33cf1b784459 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 11 May 2025 12:03:05 +0200 Subject: [PATCH] new task update apt packages --- playbook.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/playbook.yml b/playbook.yml index f91b46f..c0bfa5c 100644 --- a/playbook.yml +++ b/playbook.yml @@ -4,15 +4,8 @@ remote_user: root tasks: - - name: Ensure apache is at the latest version - ansible.builtin.yum: - name: httpd - state: latest - - - name: Write the apache config file - ansible.builtin.template: - src: /srv/httpd.j2 - dest: /etc/httpd.conf + - name: Update all apt packages + apt: state=latest force_apt_get=yes - name: Update db servers hosts: databases