Fix pre-commit hooks and move directories
roles/ and inventory/ are now in playbooks/ also fixed issues reported by ansible-lint
This commit is contained in:
		
							parent
							
								
									dc398ddb6e
								
							
						
					
					
						commit
						4104057771
					
				
					 123 changed files with 91 additions and 39 deletions
				
			
		
							
								
								
									
										12
									
								
								playbooks/roles/lego/files/hooks/auth.serguzim.me
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										12
									
								
								playbooks/roles/lego/files/hooks/auth.serguzim.me
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,12 @@
 | 
			
		|||
#!/usr/bin/env sh
 | 
			
		||||
 | 
			
		||||
domain="auth.serguzim.me"
 | 
			
		||||
 | 
			
		||||
_install() {
 | 
			
		||||
  install --owner=root --group=root --mode=600 \
 | 
			
		||||
	  "$CERTIFICATES_PATH/$domain.$1" \
 | 
			
		||||
	  "/opt/services/authentik/certs/$domain.$2"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
_install crt pem
 | 
			
		||||
_install key key
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue