
Added workaround to stop containers which should not be on the node, accouding to a file with list of services which is filled in by ansible's tasks. It allows to implement scale-down and resource migration.
14 lines
216 B
YAML
14 lines
216 B
YAML
id: containers
|
|
class: containers
|
|
type: resource
|
|
handler: ansible
|
|
version: v1
|
|
|
|
actions:
|
|
ensure: simple/containers/ensure.yml
|
|
clean_list: simple/containers/clean_list.yml
|
|
|
|
input: {}
|
|
|
|
tags: [service/containers]
|