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
				
			
		
							
								
								
									
										25
									
								
								playbooks/roles/wiki_js/vars/main.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								playbooks/roles/wiki_js/vars/main.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,25 @@
 | 
			
		|||
---
 | 
			
		||||
wiki_js_svc:
 | 
			
		||||
  domain: wiki.serguzim.me
 | 
			
		||||
  port: 3000
 | 
			
		||||
  caddy_extra: |
 | 
			
		||||
    import analytics
 | 
			
		||||
  db:
 | 
			
		||||
    host: "{{ postgres.host }}"
 | 
			
		||||
    port: "{{ postgres.port }}"
 | 
			
		||||
    user: "{{ opentofu.postgresql_data.wiki_js.user }}"
 | 
			
		||||
    pass: "{{ opentofu.postgresql_data.wiki_js.pass }}"
 | 
			
		||||
    name: "{{ opentofu.postgresql_data.wiki_js.database }}"
 | 
			
		||||
 | 
			
		||||
wiki_js_env:
 | 
			
		||||
  DB_TYPE: postgres
 | 
			
		||||
  DB_HOST: "{{ svc.db.host }}"
 | 
			
		||||
  DB_PORT: "{{ svc.db.port }}"
 | 
			
		||||
  DB_USER: "{{ svc.db.user }}"
 | 
			
		||||
  DB_PASS: "{{ svc.db.pass }}"
 | 
			
		||||
  DB_NAME: "{{ svc.db.name }}"
 | 
			
		||||
  DB_SSL: 1
 | 
			
		||||
 | 
			
		||||
wiki_js_compose:
 | 
			
		||||
  watchtower: true
 | 
			
		||||
  image: requarks/wiki
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue