33 lines
831 B
YAML
33 lines
831 B
YAML
|
---
|
||
|
- name: Install gnupg
|
||
|
ansible.builtin.package:
|
||
|
name: gnupg
|
||
|
state: present
|
||
|
|
||
|
- name: Install openmediavault keyring
|
||
|
ansible.builtin.apt_key:
|
||
|
url: https://packages.openmediavault.org/public/archive.key
|
||
|
state: present
|
||
|
|
||
|
- name: Add openmediavault package repository
|
||
|
ansible.builtin.apt_repository:
|
||
|
repo: deb https://packages.openmediavault.org/public shaitan main
|
||
|
state: present
|
||
|
filename: openmediavault
|
||
|
|
||
|
- name: Install openmediavault
|
||
|
ansible.builtin.apt:
|
||
|
pkg:
|
||
|
- openmediavault-keyring
|
||
|
- openmediavault
|
||
|
autoremove: yes
|
||
|
#allow_downgrade: yes
|
||
|
install_recommends: no
|
||
|
environment:
|
||
|
LANG: "C.UTF-8"
|
||
|
DEBIAN_FRONTEND: "noninteractive"
|
||
|
APT_LISTCHANGES_FRONTEND: "none"
|
||
|
|
||
|
- name: Populate openmediavault configuration
|
||
|
ansible.builtin.command: omv-confdbadm populate
|