Délocalisation de jitsi comme logiciel à installer
This commit is contained in:
@@ -1,14 +1,8 @@
|
||||
{% if grains['os_family'] == 'Debian' %}
|
||||
{% set MYKERNEL = salt['grains.get']('kernelrelease') %}
|
||||
Installation des paquets pour toute Debian:
|
||||
pkg.installed:
|
||||
- pkgs:
|
||||
- p7zip
|
||||
- dnsutils
|
||||
- ethtool
|
||||
{% if 'pve' in MYKERNEL %}
|
||||
# Do Nothing
|
||||
{% else %}
|
||||
- jitsi-meet
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% if grains['os_family'] == 'Debian' %}
|
||||
include:
|
||||
- linux.Debian.DebianFamilyRepo
|
||||
# - linux.Debian.DebianFamilyRepo
|
||||
- linux.Debian.DebianFamilyPackage
|
||||
{% endif %}
|
||||
|
||||
18
softwares/jitsi.sls
Normal file
18
softwares/jitsi.sls
Normal file
@@ -0,0 +1,18 @@
|
||||
{% if grains['os_family'] == 'Debian' %}
|
||||
{% set MYKERNEL = salt['grains.get']('kernelrelease') %}
|
||||
{% if 'pve' in MYKERNEL %}
|
||||
# Do Nothing
|
||||
{% else %}
|
||||
jitsi stable Repository:
|
||||
pkgrepo.managed:
|
||||
- name: deb https://download.jitsi.org stable/
|
||||
- file: /etc/apt/sources.list.d/jitsi-stable.list
|
||||
- key_url: https://download.jitsi.org/jitsi-key.gpg.key
|
||||
- enabled: 1
|
||||
|
||||
Installation des paquets pour toute Debian:
|
||||
pkg.installed:
|
||||
- pkgs:
|
||||
- jitsi-meet
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user