solar/examples/resources/mariadb.yml
Evgeniy L 98bb9923a2 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

24 lines
443 B
YAML

id: mariadb
class: mariadb
type: resource
handler: ansible
version: v1
actions:
run: simple/mariadb/run.yml
remove: simple/mariadb/remove.yml
wait: simple/mariadb/wait.yml
users: simple/mariadb/users.yml
input:
bind_ip: "{{ this.node.ip }}"
name: solar.mariadb-test
image: kollaglue/fedora-rdo-mariadb-app
root_password: test1
users:
- name: test1
password: test1
tags:
- service/mariadb
- entrypoint/mariadb