Skip to content
This repository has been archived by the owner on Aug 16, 2019. It is now read-only.

acemonstertoys/amt-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install Postgres on AMT Rocket

ansible-playbook -i amt_rocket.ini amt_infra.yml --ask-sudo-pass

Custom Virtualbox VM

If you want to create a custom virtualbox vm then you can use Vagrantfile at location

/server_images/rocket-server/Vagrantfile

and just run "Vagrant up" 

Change the user

Goto defaults/main.yml  update  

user_to_use: "Your UserName"

Playing on a real cloud server

If you already have a Cloud Hosting account and want to test this playbook there, go ahead and just edit the hosts/production file with your hosts information and edit the group_vars/producrion.

Then, all you have to do is run the following command:

ansible-playbook -i hosts/{{ environment }} site.yml --ask-pass --ask-sudo-pass

# For Dev
ansible-playbook -i hosts/dev site.yml --ask-pass --ask-become-pass

# For staging
ansible-playbook -i hosts/staging site.yml --ask-pass --ask-become-pass

# To see actual commands debugging
ansible-playbook -i hosts/dev site.yml --ask-pass --ask-become-pass -vvvv

PS: Some Cloud providers' VPSs come with iptables firewall enabled blocking all the traffic. In this case you will have to set up some rules in order to test this playbook. If you don't mind opening all ports, you can flush the firewall rules by running the following command:

About

All infra scripts for amt server setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published