infrastructure/coreos-config/roles/compose_project
Tobias Manske 2da4835360
All checks were successful
continuous-integration/drone/push Build is passing
Fix: Check mode
2022-10-29 17:06:15 +02:00
..
defaults Refactoring 2022-10-29 16:47:54 +02:00
handlers Refactoring 2022-10-29 16:47:54 +02:00
meta Refactoring 2022-10-29 16:47:54 +02:00
tasks Fix: Check mode 2022-10-29 17:06:15 +02:00
templates Refactoring 2022-10-29 16:47:54 +02:00
tests Refactoring 2022-10-29 16:47:54 +02:00
vars Refactoring 2022-10-29 16:47:54 +02:00
README.md Refactoring 2022-10-29 16:47:54 +02:00

compose_project

Helps you deploy and update a remote docker-compose project.

Requirements

Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.

Role Variables

service: name of the service to be deployed. Currently part of the role templates.

compose_dir: Directory which contains all compose services on the target

Dependencies

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - { role: compose_project, service: traefik }
     - { role: compose_project, service: nextcloud }

License

MIT

Author Information