Skip to content

sub-role for concierge-app-playbook which creates the necessary application configuration

Notifications You must be signed in to change notification settings

mesoform/create-concierge-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Role to create configuration for building a Concierge managed application

Using this role

Generally this role should be wrapped by a top level playbook for generating application config to be built into the image. However, if ran manually, there is a concierge-app.yml file which can be passed to ansible-playbook but many of the required variables and files will need to be passed at runtime.

Primarily the role simply pulls all of your application variables and scripts together to be added to you container and provides a containerpilot.json5 orchestration file and a basic docker-compose.yml file. You can find the template which are used to do this in the templates/orchestration directory and also an example template in templates/app if you wanted to process templates to dynamically generate application config.

There are no required variables to run this as a stand alone playbook but have a look at the templates at all or the if defined variables to see which ones you may want to set using ansible-playbook --extra-vars some_key=some_value.

Testing

Add a test tag to the tasks you want to test and run ansible-playbook -vv concierge-app.yml -t test

However, because it's generally unlikely this role will be used on its own much, and because it is so easy, we recommend testing whilst integrated as a submodule

----------------------------------------------------------------------------------------------------------------- Template by Mesoform Limited

About

sub-role for concierge-app-playbook which creates the necessary application configuration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published