Fix Webmin hanging installation

This commit is contained in:
SysAdmin DCC 2025-12-01 09:07:54 +00:00
parent 902094bdac
commit ec667b9bcb
1 changed files with 17 additions and 3 deletions

View File

@ -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