20 lines
555 B
YAML
20 lines
555 B
YAML
---
|
|
- name: Actualizar Sistema
|
|
apt: update_cache=yes upgrade=dist
|
|
|
|
- name: Instalar Dependencias Base
|
|
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
|
|
args:
|
|
creates: /usr/bin/docker
|
|
|
|
- name: Instalar Webmin
|
|
shell: |
|
|
curl -o setup-repos.sh https://raw.githubusercontent.com/webmin/webmin/master/setup-repos.sh
|
|
sh setup-repos.sh
|
|
apt-get install webmin --install-recommends -y
|
|
args:
|
|
creates: /etc/webmin
|