mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 18:29:21 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			38 lines
		
	
	
		
			922 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			922 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| ---
 | |
| - name: "load docker, db and proxy for {{ application_id }}"
 | |
|   include_role:
 | |
|     name: sys-stk-full-stateful
 | |
|   vars:
 | |
| 
 | |
| - name: Setup the full docker stack
 | |
|   include_tasks: 01_fullstack.yml
 | |
|   vars:
 | |
|     domain:     "{{ NEXTCLOUD_DOMAIN }}"
 | |
|     http_port:  "{{ NEXTCLOUD_PORT }}"
 | |
| 
 | |
| - name: Setup config.php 
 | |
|   include_tasks: 02_config.yml
 | |
| 
 | |
| - name: Flush all handlers immediately so that occ can be used
 | |
|   meta: flush_handlers
 | |
| 
 | |
| - name: Update\Upgrade Nextcloud
 | |
|   include_tasks: 03_upgrade.yml
 | |
|   when: MODE_UPDATE | bool
 | |
| 
 | |
| - name: Load system configuration steps
 | |
|   include_tasks: "{{ item }}"
 | |
|   loop:
 | |
|     - 04_admin.yml
 | |
|     - 05_system_config.yml
 | |
| 
 | |
| - name: Setup Nextcloud Plugins
 | |
|   include_tasks: 06_setup_plugin.yml
 | |
|   loop: "{{ NEXTCLOUD_PLUGIN_ITEMS }}"
 | |
|   loop_control:
 | |
|     loop_var: plugin_item
 | |
|   vars:
 | |
|     plugin_key:   "{{ plugin_item.key }}"
 | |
|     plugin_value: "{{ plugin_item.value }}"
 | |
|   when: NEXTCLOUD_PLUGINS_ENABLED
 |