Follow these steps to set up and deploy the application:
Add your vault password to vault/pass.txt
.
Add your database credentials to the vault/secrets.yaml
and run ansible-vault encrypt secrets.yaml --vault-password-file pass.txt
command.
db_name: your_database_name
db_user: your_database_user
db_password: your_database_password
db_host: your_database_host
db_port: your_database_port
Add your hosts to the inventory/hosts.ini
file.
In the root folder run ansible-playbook ./playbooks/playbook.yaml
command to run the ansible scripts.
Open web browser and access the application at application_host_ip:5000