Modification de l'ajout des repos en fonction du kernel PVE ou non
This commit is contained in:
@@ -1,4 +1,9 @@
|
|||||||
{% if grains['os_family'] == 'Debian' %}
|
{% if grains['os_family'] == 'Debian' %}
|
||||||
include:
|
{% set MYKERNEL = salt['grains.get']('kernelrelease') %}
|
||||||
- linux.Debian.Repos.Jitsi
|
{% if 'pve' in MYKERNEL %}
|
||||||
|
# Do Nothing
|
||||||
|
{% else %}
|
||||||
|
include:
|
||||||
|
- linux.Debian.Repos.Jitsi
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
Reference in New Issue
Block a user