Add users conditional for sss #61

Merged
Georg merged 1 commits from skip-users-if-sss into production 2023-05-01 23:15:45 +02:00

View File

@ -8,7 +8,11 @@ include:
- profile.seccheck
- profile.zypp
- profile.prometheus.node_exporter
{%- if salt['cmd.run']("awk '/^passwd/{ print $2; exit }' /etc/nsswitch.conf") == 'sss' %}
{%- do salt.log.warning('Not configuring local users due to sss') %}
{%- else %}
- users
{%- endif %}
- .ssh
- postfix.config