Skip to content

tbpcoder/ansible-project-comments-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

Follow these steps to set up and deploy the application:

1. Vault Password

Add your vault password to vault/pass.txt.

2. Add Database Secrets

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

3. Add Your Hosts

Add your hosts to the inventory/hosts.ini file.

4. Run The Playbook

In the root folder run ansible-playbook ./playbooks/playbook.yaml command to run the ansible scripts.

5. Access the application

Open web browser and access the application at application_host_ip:5000

About

this is an ansible playbook to setup comments application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published