Merge pull request 'Add users conditional for sss' (#61) from skip-users-if-sss into production
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
Reviewed-on: #61
This commit is contained in:
commit
16827d7318
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user