Replace forgejo config with explicit ini
This commit is contained in:
		
							parent
							
								
									c7fc3f3ef7
								
							
						
					
					
						commit
						36a54fef3d
					
				
					 2 changed files with 80 additions and 55 deletions
				
			
		|  | @ -5,12 +5,18 @@ | |||
| - name: Deploy {{ role_name }} | ||||
|   vars: | ||||
|     svc: "{{ forgejo_svc }}" | ||||
|     env: "{{ forgejo_env }}" | ||||
|     compose: "{{ forgejo_compose }}" | ||||
|   block: | ||||
|     - name: Import prepare tasks for common service | ||||
|       ansible.builtin.import_tasks: tasks/prepare-common-service.yml | ||||
| 
 | ||||
|     - name: Create the app.ini file | ||||
|       ansible.builtin.copy: | ||||
|         dest: "{{ (service_path, 'app.ini') | path_join }}" | ||||
|         content: '{{ forgejo_ini | to_ini }}' | ||||
|         mode: "0644" | ||||
|       notify: Restart service {{ role_name }} | ||||
| 
 | ||||
|     - name: Copy the template files | ||||
|       ansible.builtin.copy: | ||||
|         src: templates/ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue