Skip to content

Commit

Permalink
Enabling gpu support (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
maricaantonacci committed Jul 27, 2018
1 parent 4a577ac commit 84f6cbe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ openssl_self_signed:
unit: ""
email: ""
chronos_enable_ssl: True
chronos_enable_gpu_support: false
chronos_key_password: "qTZhU73KYx5A"
chronos_pkcs_password: "034sXrLTWkdd"
chronos_jks_password: "xGpcVzlRxNr4"
chronos_username: "admin"
#chronos_password: "secr3t" --> MANDATORY PARAM
#chronos_version: '2.5.0-SNAPSHOT'
chronos_version: 3.0.2
chronos_version: 3.0.2_gpu
chronos_hostname: "{{ ansible_default_ipv4.address }}"
chronos_framework_name: "chronos"
chronos_http_port: '4400'
Expand Down
3 changes: 3 additions & 0 deletions templates/chronos-env.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ CHRONOS_ZK_PATH=/{{ chronos_framework_name }}/state
CHRONOS_MESOS_FRAMEWORK_NAME={{ chronos_framework_name }}
CHRONOS_HTTP_CREDENTIALS={{chronos_username}}:{{chronos_password}}
CHRONOS_DISABLE_AFTER_FAILURES={{chronos_disable_after_failures}}
{% if chronos_enable_gpu_support == true %}
CHRONOS_ENABLE_FEATURES=gpu_resources
{% endif %}
3 changes: 3 additions & 0 deletions templates/chronos-ssl-env.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ CHRONOS_SSL_KEYSTORE_PASSWORD={{ chronos_jks_password }}
CHRONOS_SSL_KEYSTORE_PATH={{ chronos_keystore_path }}
CHRONOS_HTTP_CREDENTIALS={{chronos_username}}:{{chronos_password}}
CHRONOS_DISABLE_HTTP=
{% if chronos_enable_gpu_support == true %}
CHRONOS_ENABLE_FEATURES=gpu_resources
{% endif %}

0 comments on commit 84f6cbe

Please sign in to comment.