update playbook config-repo-vn

This commit is contained in:
Ruben Blanco 2023-10-18 09:30:39 +02:00
parent 8c36bebe62
commit 0d67084a3f
2 changed files with 18 additions and 1 deletions

View File

@ -9,4 +9,4 @@
- name: "example"
handlers:
- include_tasks: roles/add-repos-vn/handlers/main.yaml
- include_tasks: roles/config-repo-vn/handlers/main.yaml

View File

@ -1,4 +1,5 @@
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# SE OBVIA , ACTUALMENTE SE INSTALA PACKAGE DEB INSTALA gpg.key + REPOS
# descargar http://apt.verdnatura.es/pool/main/v/vn-host/vn-host_2.0.2_all.deb e instalar (manualmente wget + dpkg -i package)
# paso0 - añadir clave gpg
# paso1 - Add specified repository into sources list
@ -12,4 +13,20 @@
# apt_repository:
# repo: deb-src http://apt.verdnatura.es/ bookworm main
# state: present
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Download deb package
- name: Download vn-host_2.0.2_all.deb
get_url:
url: http://apt.verdnatura.es/pool/main/v/vn-host/vn-host_2.0.2_all.deb
dest: /tmp/vn-host_2.0.2_all.deb
mode: '0644'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Install deb package
- name: Install a .deb package
apt:
deb: /tmp/vn-host_2.0.2_all.deb
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++