Skip failing local users management on machines using sssd. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
		
							parent
							
								
									bfeeb8673e
								
							
						
					
					
						commit
						b14b015498
					
				@ -8,7 +8,11 @@ include:
 | 
			
		||||
  - profile.seccheck
 | 
			
		||||
  - profile.zypp
 | 
			
		||||
  - profile.prometheus.node_exporter
 | 
			
		||||
  {%- if salt['cmd.run']("awk '/passwd/{ print $2 }' /etc/nsswitch.conf") == 'sss' %}
 | 
			
		||||
  {%- do salt.log.warning('Not configuring local admin users due to sss') %}
 | 
			
		||||
  {%- else %}
 | 
			
		||||
  - users
 | 
			
		||||
  {%- endif %}
 | 
			
		||||
  - .ssh
 | 
			
		||||
  - postfix.config
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user