diff --git a/roles/dcos_cli/defaults/main.yml b/roles/dcos_cli/defaults/main.yml index 79aeb4d8..c0f9b003 100644 --- a/roles/dcos_cli/defaults/main.yml +++ b/roles/dcos_cli/defaults/main.yml @@ -8,6 +8,7 @@ dcos_cli_sources: '["https://github.com/Capgemini/universe/archive/version-1.x.z dcos_cli_frameworks_list: - cassandra - chronos + - exhibitor # Type flag allows you to set up a command which you want to use to run an app. # To run one app use "type: app" and to run group of apps use "type: group". dcos_cli_apps_list: diff --git a/roles/dcos_cli/templates/exhibitor-config.yml b/roles/dcos_cli/templates/exhibitor-config.yml new file mode 100644 index 00000000..4dfd9c5d --- /dev/null +++ b/roles/dcos_cli/templates/exhibitor-config.yml @@ -0,0 +1,9 @@ +{ + "exhibitor": { + "zk_servers": "{{ zookeeper_peers_nodes }}", + "app-id": "exhibitor", + "cpus": {{ dcos_cli_framework_exhibitor_cpus }}, + "mem": {{ dcos_cli_framework_exhibitor_mem }}, + "docker-image": "{{ dcos_cli_framework_exhibitor_image }}" + } +} diff --git a/roles/dcos_cli/vars/exhibitor.yml b/roles/dcos_cli/vars/exhibitor.yml new file mode 100644 index 00000000..c1ffb328 --- /dev/null +++ b/roles/dcos_cli/vars/exhibitor.yml @@ -0,0 +1,4 @@ +dcos_cli_framework_exhibitor_enabled: false +dcos_cli_framework_exhibitor_mem: 3072.0 +dcos_cli_framework_exhibitor_cpus: 1 +dcos_cli_framework_exhibitor_image: mesosphere/exhibitor-dcos