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" - name: "example"
handlers: 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) # 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 # paso0 - añadir clave gpg
# paso1 - Add specified repository into sources list # paso1 - Add specified repository into sources list
@ -13,3 +14,19 @@
# repo: deb-src http://apt.verdnatura.es/ bookworm main # repo: deb-src http://apt.verdnatura.es/ bookworm main
# state: present # 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
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++