Graylog2 / graylog-ansible-role

Ansible role which installs and configures Graylog
Apache License 2.0
212 stars 126 forks source link

Allow Users to Specify What Pieces They Want to Install #19

Closed jamescarr closed 8 years ago

jamescarr commented 8 years ago

Not everyone wants to install everything on a single machine. These switches allows one to bypass installing the pieces they don't want.

For example, if I just want to install graylog-web:


---
dependencies:
  - role: graylog.graylog
    graylog_install_server: false
    graylog_install_mongodb: false
    graylog_install_web: true
    graylog_install_nginx: false
    graylog_install_elasticsearch: false

This is the same as the closed #18 but it was late and I didn't realize that while all the tasks for excluded roles were being listed they were also all being skipped.

mariussturm commented 8 years ago

Looks good, thank you!