Always teardown the Docker Compose stack before updating it (will not delete any data)
This commit is contained in:
		
							parent
							
								
									f36c602a0e
								
							
						
					
					
						commit
						23e504e481
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -120,11 +120,11 @@ | |||
|       CRON_SCHEDULE="{{ restic_cron_schedule }}" | ||||
|   when: nextcloud_enable_restic_compose_backup == true | ||||
| 
 | ||||
| - name: "docker-compose: Teardown existing Nextcloud service" | ||||
| - name: "docker-compose: Teardown existing Nextcloud service (will keep your volumes)" | ||||
|   docker_compose: | ||||
|     project_src: "/home/{{ docker_user }}/nextcloud/" | ||||
|     state: absent | ||||
|   tags: ['never', 'teardown'] | ||||
|   tags: ['teardown'] | ||||
| 
 | ||||
| - name: "docker-compose: Start Nextcloud service" | ||||
|   docker_compose: | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue