Fix Webmin hanging installation
This commit is contained in:
parent
902094bdac
commit
ec667b9bcb
|
|
@ -1,9 +1,21 @@
|
||||||
---
|
---
|
||||||
- name: Actualizar Sistema
|
- name: Actualizar Sistema
|
||||||
apt: update_cache=yes upgrade=dist
|
apt:
|
||||||
|
update_cache: yes
|
||||||
|
upgrade: dist
|
||||||
|
|
||||||
- name: Instalar Dependencias Base
|
- 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
|
- name: Instalar Docker
|
||||||
shell: curl -fsSL https://get.docker.com | sh
|
shell: curl -fsSL https://get.docker.com | sh
|
||||||
|
|
@ -13,7 +25,9 @@
|
||||||
- name: Instalar Webmin
|
- name: Instalar Webmin
|
||||||
shell: |
|
shell: |
|
||||||
curl -o setup-repos.sh https://raw.githubusercontent.com/webmin/webmin/master/setup-repos.sh
|
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
|
apt-get install webmin --install-recommends -y
|
||||||
args:
|
args:
|
||||||
creates: /etc/webmin
|
creates: /etc/webmin
|
||||||
|
environment:
|
||||||
|
DEBIAN_FRONTEND: noninteractive
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue