Created by https://github.com/Itsmide
URL: https://itsmidealtschoolexamproject.live/ (IP in hosts)
Perquisites for running this ansible-playbook on your remote machine
-
Make sure your machine is up to date using "sudo apt update && sudo apt upgrade -y"
-
you need to configure mySQL. this has to be done manually. Using
-
sudo wget https://dev.mysql.com/get/mysql-apt-config_0.8.22-1_all.deb
-
sudo apt install ./mysql-apt-config_0.8.22-1_all.deb
Before Running Playbook
-
-
Edit the 'host-inventory' file for your remote IP address
-
Must edit 'ubuntu20' file for root {{mysql_pass}}
-
Must configure your git user.name and email in 'web-apt-installation.yml'
-
Must change SQL database and users to desired name in 'database-setup.yml'
-
Should edit the .env not in the 'database-setup.yml', to your IP address, Root_SQL Details.
-
Should edit the laravel.conf to your IP address in 'database-setup.yml'
Order of Running Playbook
- web-apt-installation
- set_root_pass_ubuntu20.yaml
- database-setup.yml
- last-setup.yml
Also, bash script for installation of POSTGRESQL are added to last-setup.yml, which will run togther in the ansible-playbook.
Created by https://github.com/Itsmide URL: https://itsmidealtschoolexamproject.live/ (IP in hosts)