Exclude libX11 removal for FPM hosts
Some checks failed
ci/lysergic/push/pipeline Pipeline failed

Needed for some PHP extensions.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
Georg Pfuetzenreuter 2023-04-30 19:43:25 +02:00
parent 21f8818a52
commit 04a1031282
Signed by: Georg
GPG Key ID: 1ED2F138E7E6FF57

View File

@ -1,3 +1,5 @@
{%- set roles = salt['http.query']('http://machine-roles.lysergic.dev:4580/roles', decode=True, decode_type='json', params={"machine": id})['dict']['roles'] -%}
include: include:
{#- drop pillar check after all firewall configurations have been imported #} {#- drop pillar check after all firewall configurations have been imported #}
{%- if salt['pillar.get']('manage_firewall'), False %} {%- if salt['pillar.get']('manage_firewall'), False %}
@ -65,7 +67,9 @@ common_packages_remove:
{#- we only use AutoYaST for the OS deployment #} {#- we only use AutoYaST for the OS deployment #}
- autoyast2 - autoyast2
- autoyast2-installation - autoyast2-installation
{%- if not 'php-fpm' in roles %}
- libX11-data - libX11-data
{%- endif %}
- yast2-add-on - yast2-add-on
- yast2-services-manager - yast2-services-manager
- yast2-slp - yast2-slp