vn-ansible/linux/base-config-debian/roles/config-repo-vn/tasks/main.yaml

32 lines
1.4 KiB
YAML

#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# 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
#- name: Add specified repository into sources list
# apt_repository:
# repo: deb http://apt.verdnatura.es/ bookworm main
# state: present
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# paso2 - Add source repository into sources list
#- name: Add source repository into sources list
# 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
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++