Evgeniy L 0e0000276a Implement ensure mechanism for containers
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.
2015-04-23 16:07:31 +03:00

7 lines
158 B
YAML

- hosts: [service/containers]
sudo: yes
tasks:
- file: state=directory path=/var/lib/solar/
- shell: echo -n "" > /var/lib/solar/containers_list