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

32 lines
1.4 KiB
YAML
Raw Normal View History

2023-10-18 07:06:20 +00:00
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2023-10-18 07:30:39 +00:00
# SE OBVIA , ACTUALMENTE SE INSTALA PACKAGE DEB INSTALA gpg.key + REPOS
2023-10-18 07:06:20 +00:00
# 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
2023-10-18 07:30:39 +00:00
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# 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
2023-10-18 07:06:20 +00:00
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++