mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
24 lines
495 B
Plaintext
24 lines
495 B
Plaintext
{% from 'vars/globals.map.jinja' import GLOBALS %}
|
|
|
|
{# we only want this state to run it is CentOS #}
|
|
{% if GLOBALS.os == 'Rocky' %}
|
|
|
|
include:
|
|
- desktop.packages
|
|
|
|
graphical_target:
|
|
file.symlink:
|
|
- name: /etc/systemd/system/default.target
|
|
- target: /lib/systemd/system/graphical.target
|
|
- force: True
|
|
- require:
|
|
- desktop_packages
|
|
|
|
{% else %}
|
|
|
|
desktop_xwindows_os_fail:
|
|
test.fail_without_changes:
|
|
- comment: 'SO Desktop can only be installed on Rocky'
|
|
|
|
{% endif %}
|