One role that syncs a payload and brings the stack up, configured entirely through stack_* variables, plus six playbooks that each demonstrate one part of that contract. Every playbook runs standalone and is tagged with its stack name, so site.yml --tags <stack> works. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
26 lines
478 B
YAML
26 lines
478 B
YAML
---
|
|
galaxy_info:
|
|
role_name: compose_stack
|
|
namespace: example
|
|
author: The contributors
|
|
description: Sync a Docker Compose stack payload to a host and bring the stack up.
|
|
license: MIT
|
|
min_ansible_version: "2.15"
|
|
platforms:
|
|
- name: EL
|
|
versions:
|
|
- "9"
|
|
- name: Debian
|
|
versions:
|
|
- bookworm
|
|
- name: Ubuntu
|
|
versions:
|
|
- jammy
|
|
- noble
|
|
galaxy_tags:
|
|
- docker
|
|
- compose
|
|
- deployment
|
|
|
|
dependencies: []
|