From ec667b9bcb0ba39c35a313d3de967ba8b0183a8f Mon Sep 17 00:00:00 2001 From: SysAdmin DCC Date: Mon, 1 Dec 2025 09:07:54 +0000 Subject: [PATCH] Fix Webmin hanging installation --- roles/common/tasks/main.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 37aeea3..f75a20e 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -1,9 +1,21 @@ --- - name: Actualizar Sistema - apt: update_cache=yes upgrade=dist + apt: + update_cache: yes + upgrade: dist - name: Instalar Dependencias Base - apt: name=['curl','git','htop','ufw','gnupg','sudo','python3-pip','python3-psycopg2'] state=present + apt: + name: + - curl + - git + - htop + - ufw + - gnupg + - sudo + - python3-pip + - python3-psycopg2 + state: present - name: Instalar Docker shell: curl -fsSL https://get.docker.com | sh @@ -13,7 +25,9 @@ - name: Instalar Webmin shell: | curl -o setup-repos.sh https://raw.githubusercontent.com/webmin/webmin/master/setup-repos.sh - sh setup-repos.sh + sh setup-repos.sh --force apt-get install webmin --install-recommends -y args: creates: /etc/webmin + environment: + DEBIAN_FRONTEND: noninteractive