19 lines
		
	
	
		
			484 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			484 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
**Netbox + XO + Terraform + Ansible = The best deployment kit**
 | 
						|
 | 
						|
How to run:<br>
 | 
						|
cp passwd.auto.tfvars.example passwd.auto.tfvars<br>
 | 
						|
replace all variable to match your infrastructure
 | 
						|
 | 
						|
edit cloud_network_config.tftpl to replace eth0 (to be changed)
 | 
						|
 | 
						|
create a prefix with IP you want to use on netbox <br>
 | 
						|
edit variables.auto.tfvars 
 | 
						|
 | 
						|
You can add your playbook in the folder playbooks/ and use them in variables.auto.tfvars
 | 
						|
 | 
						|
then
 | 
						|
 | 
						|
terraform init<br>
 | 
						|
terraform plan<br>
 | 
						|
terraform apply
 |