mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			967 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			967 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| ---
 | |
| - name: "Include setup for domain '{{ domain }}'"
 | |
|   include_role:
 | |
|     name: sys-stk-front-proxy
 | |
|   loop: "{{ domains['web-app-mastodon'] }}"
 | |
|   loop_control:
 | |
|     loop_var: domain
 | |
|   vars:
 | |
|     http_port:            "{{ ports.localhost.http[application_id] }}"
 | |
|     location_ws:          "/api/v1/streaming"
 | |
|     ws_port:              "{{ ports.localhost.websocket[application_id] }}"
 | |
|     client_max_body_size: "80m"
 | |
|     vhost_flavour:        "ws_generic"
 | |
| 
 | |
| - name: "load docker and db for {{ application_id }}"
 | |
|   include_role:
 | |
|     name: sys-stk-back-stateful
 | |
|   vars:
 | |
|     docker_compose_flush_handlers: true
 | |
| 
 | |
| - name: "Wait for Mastodon"
 | |
|   include_tasks: 01_wait.yml
 | |
| 
 | |
| - name: "Cleanup Mastodon caches when MODE_CLEANUP is true"
 | |
|   include_tasks: 02_cleanup.yml
 | |
|   when: MODE_CLEANUP | bool
 | |
| 
 | |
| - name: "start setup procedures for mastodon"
 | |
|   include_tasks: 03_setup.yml
 | |
| 
 | |
| - name: "Include administrator routines for '{{ application_id }}'"
 | |
|   include_tasks: 04_administrator.yml
 |