Thanks to visit codestin.com
Credit goes to github.com

Skip to content

spinor72/infra-role-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

db

Build Status

Install and configure mongodb server

Requirements

Role Variables

mongo_port port for mongodb to listen mongo_bind_ip ip-address for mongodb to listen

Dependencies

Example Playbook

- hosts: dbhosts
  roles:
     - { role: db, mongo_port: 27017, mongo_bind_ip: 192.168.0.11 }

Test role

Role contains tests with molecule default is local vagrant driver

For remote test with gce driver use --scenario-name travis option and command like USER=travis GCE_SERVICE_ACCOUNT_EMAIL='<service-account>@<project-id>.iam.gserviceaccount.com' GCE_CREDENTIALS_FILE="$(pwd)/credentials.json" GCE_PROJECT_ID='<project-id>' molecule destroy --scenario-name travis

Travis CI is configured to make test in GCE

License

Author Information

[email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages