Fix pre-commit hooks and move directories
roles/ and inventory/ are now in playbooks/ also fixed issues reported by ansible-lint
This commit is contained in:
		
							parent
							
								
									dc398ddb6e
								
							
						
					
					
						commit
						4104057771
					
				
					 123 changed files with 91 additions and 39 deletions
				
			
		
							
								
								
									
										37
									
								
								playbooks/inventory/group_vars/all/compose_defaults.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								playbooks/inventory/group_vars/all/compose_defaults.yml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,37 @@ | |||
| compose_file_main: | ||||
|   services: | ||||
|     app: | ||||
|       image: "{{ compose.image }}" | ||||
|       restart: always | ||||
|       labels: | ||||
|         com.centurylinklabs.watchtower.enable: "{{ compose.watchtower | default(false) }}" | ||||
| 
 | ||||
| compose_file_env: | ||||
|   services: | ||||
|     app: | ||||
|       env_file: | ||||
|         - service.env | ||||
| 
 | ||||
| compose_file_networks: | ||||
|   services: | ||||
|     app: | ||||
|       networks: | ||||
|         default: | ||||
|         apps: | ||||
|           aliases: | ||||
|             - "{{ role_name }}" | ||||
|   networks: | ||||
|     default: | ||||
|     apps: | ||||
|       external: true | ||||
| 
 | ||||
| compose_file_volumes: | ||||
|   services: | ||||
|     app: | ||||
|       volumes: "{{ compose.volumes }}" | ||||
| 
 | ||||
| compose_file_monitoring_label: | ||||
|   services: | ||||
|     app: | ||||
|       labels: | ||||
|         com.influxdata.telegraf.enable: true | ||||
							
								
								
									
										31
									
								
								playbooks/inventory/group_vars/all/main.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								playbooks/inventory/group_vars/all/main.yml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,31 @@ | |||
| admin_email: tobias@msrg.cc | ||||
| timezone: Europe/Berlin | ||||
| 
 | ||||
| postgres: | ||||
|   host: "{{ opentofu.postgresql.host }}" | ||||
|   port: "{{ opentofu.postgresql.port }}" | ||||
| 
 | ||||
| mailer: | ||||
|   host: mail.serguzim.me | ||||
|   port: 587 | ||||
| 
 | ||||
| acme_dns: | ||||
|   host: acme.serguzim.me | ||||
| 
 | ||||
| container_registry: | ||||
|   public: "{{ opentofu.scaleway_registry_endpoint_public }}" | ||||
|   private: "{{ opentofu.scaleway_registry_endpoint_private }}" | ||||
| 
 | ||||
| 
 | ||||
| services_path: /opt/services/ | ||||
| 
 | ||||
| common_services: | ||||
|   - backup | ||||
|   - lego | ||||
|   - caddy | ||||
|   - watchtower | ||||
| 
 | ||||
| caddy_path: "{{ (services_path, 'caddy') | path_join }}" | ||||
| caddy_config_path: "{{ (caddy_path, 'config', 'conf.d') | path_join }}" | ||||
| 
 | ||||
| certificates_path: "{{ (services_path, '_certificates') | path_join }}" | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue