Move vars to defaults
This commit is contained in:
		
							parent
							
								
									70578f2a13
								
							
						
					
					
						commit
						bf08ae8f81
					
				
					 40 changed files with 0 additions and 0 deletions
				
			
		
							
								
								
									
										33
									
								
								playbooks/roles/deploy/defaults/main.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								playbooks/roles/deploy/defaults/main.yml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,33 @@ | |||
| --- | ||||
| deploy_svc: | ||||
|   domain: "{{ all_services | service_get_domain(role_name) }}" | ||||
|   port: 9000 | ||||
| 
 | ||||
| deploy_yml: | ||||
|   - id: deploy-reitanlage_oranienburg | ||||
|     trigger-rule-mismatch-http-response-code: 400 | ||||
|     execute-command: /config/deploy-reitanlage_oranienburg | ||||
|     pass-file-to-command: | ||||
|       - source: payload | ||||
|         name: data | ||||
|         envname: WEBHOOK_DATA | ||||
|         base64decode: true | ||||
|     trigger-rule: | ||||
|       and: | ||||
|         - match: | ||||
|             type: value | ||||
|             value: "{{ vault_deploy.reitanlage_oranienburg_token }}" | ||||
|             parameter: | ||||
|               source: header | ||||
|               name: X-Webhook-Token | ||||
| 
 | ||||
| deploy_compose: | ||||
|   watchtower: update | ||||
|   image: lwlook/webhook | ||||
|   volumes: | ||||
|     - ./config:/config:ro | ||||
|     - /var/run/docker.sock:/var/run/docker.sock | ||||
|   file: | ||||
|     services: | ||||
|       app: | ||||
|         command: ["-verbose", "-hooks=/config/hooks.yml", "-hotreload"] | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue