Update for automated response around poorly behaving archlinux-keyring weekly timer; rename Sora role to Password
This commit is contained in:
		
							
								
								
									
										24
									
								
								roles/Password/tasks/web.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								roles/Password/tasks/web.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
 - name: Clone the web portal
 | 
			
		||||
   become: yes
 | 
			
		||||
   git:
 | 
			
		||||
     repo: https://github.com/ltb-project/self-service-password
 | 
			
		||||
     dest: /usr/share/webapps/self-service-password
 | 
			
		||||
 | 
			
		||||
 - name: Ensure web portal ownership
 | 
			
		||||
   file:
 | 
			
		||||
     state: directory
 | 
			
		||||
     owner: http
 | 
			
		||||
     group: http
 | 
			
		||||
     path: /usr/share/webapps/self-service-password
 | 
			
		||||
     recurse: true
 | 
			
		||||
 | 
			
		||||
 - name: Web portal config
 | 
			
		||||
   become: yes
 | 
			
		||||
   template:
 | 
			
		||||
     src: config.inc.php.j2
 | 
			
		||||
     dest: /usr/share/webapps/self-service-password/conf/config.inc.php
 | 
			
		||||
     owner: http
 | 
			
		||||
     group: http
 | 
			
		||||
     mode: 0600
 | 
			
		||||
		Reference in New Issue
	
	Block a user