25 lines
673 B
YAML
25 lines
673 B
YAML
---
|
|
# tasks file for linstor_repo
|
|
|
|
- name: Download LINBIT keyring package
|
|
ansible.builtin.get_url:
|
|
url: https://packages.linbit.com/public/linbit-keyring.deb
|
|
dest: /tmp/linbit-keyring.deb
|
|
mode: '0644'
|
|
|
|
- name: Install LINBIT keyring
|
|
ansible.builtin.apt:
|
|
deb: /tmp/linbit-keyring.deb
|
|
state: present
|
|
|
|
- name: Add LINBIT APT repository for Proxmox
|
|
ansible.builtin.apt_repository:
|
|
repo: >-
|
|
deb [signed-by=/etc/apt/trusted.gpg.d/linbit-keyring.gpg]
|
|
https://packages.linbit.com/public/
|
|
proxmox-{{ ansible_facts['distribution_major_version'] | int - 4 }}
|
|
drbd-9
|
|
filename: linbit
|
|
state: present
|
|
update_cache: true
|