cant use GLOBALS var due to desktop nongrid install

This commit is contained in:
m0duspwnens committed 2023-08-30 10:41:34 -04:00
1 parent b14614ae53
commit b45e114ef2
2 files changed
+2 -6

No files matched your search

+1 -3
View File
@@ -1,7 +1,5 @@
{% from 'vars/globals.map.jinja' import GLOBALS %}
{# we only want this state to run it is CentOS #}
{% if GLOBALS.os == 'OEL' %}
{% if grains.os == 'OEL' %}
desktop_packages:
pkg.installed:
+1 -3
View File
@@ -1,7 +1,5 @@
{% from 'vars/globals.map.jinja' import GLOBALS %}
{# we only want this state to run it is CentOS #}
{% if GLOBALS.os == 'OEL' %}
{% if grains.os == 'OEL' %}
remove_graphical_target:
file.symlink: