Awesome
ansible-spark
An Ansible role for installing Apache Spark.
Role Variables
spark_version
- Spark version.spark_cloudera_distribution
- Cloudera distribution version (default:cdh5.4
)spark_env_extras
- An optional dictionary with key and value attributes to add tospark-env.sh
(e.g.MESOS_NATIVE_LIBRARY: "/usr/local/lib/libmesos.so"
)spark_defaults_extras
- An optional dictionary with key and value attributes to add tospark-defaults.conf
(e.g."spark.eventLog.enabled": true
)spark_user_groups
- an optional list of (OS)groups the spark user should belong tospark_user_shell
- the spark user's default shell (default:/bin/false
)
Example Playbook
See the examples directory.