mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-03 19:58:14 +00:00 
			
		
		
		
	
			
				
					
						
					
					038b0d3a650414610d96fe2dc36e2fc27b9adf2f
				
			
			
		
	Server-Manager
Description
Ansible script to manage servers.
roles
The system use the following role namings:
| role prefix | meaning | 
|---|---|
| system- | general system roles which apply basic configurations | 
| native- | applications which run native on the system | 
| docker- | applications which run on docker containers on the system | 
Update
Follow the best practices for inventories and execute ansible via:
bash ansible-playbook -i ~/your-inventories/inventorie/hosts site.yml 
Debug
Cleanup docker
bash docker stop $(docker ps -aq); docker rm $(docker ps -aq); docker volume rm $(docker volume ls -q); 
todo
- Use docker-compose.yml files instead of the ansible inbuild docker-compose for more flexibility
 - Implement https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-docker
 
see
Description
				
					Languages
				
				
								
								
									Python
								
								57%
							
						
							
								
								
									Jinja
								
								41.1%
							
						
							
								
								
									Shell
								
								1%
							
						
							
								
								
									Dockerfile
								
								0.3%
							
						
							
								
								
									JavaScript
								
								0.3%
							
						
							
								
								
									Other
								
								0.2%