# Configure a Jenkins instance for testeng.
# This has the Jenkins Java app, but none of the requirements
# to run the tests.

- name: Configure instance(s)
  hosts: jenkins_master
  sudo: True
  gather_facts: True
  vars:
    COMMON_DATA_DIR: "/mnt"
    COMMON_ENABLE_DATADOG: True
  roles:
    - common
    - datadog
    - jenkins_master

# Configure a Jenkins instance for testeng.
# This has the Jenkins Java app, but none of the requirements
# to run the tests.

- name: Configure instance(s)
  hosts: jenkins_master
  sudo: True
  gather_facts: True
  vars:
    COMMON_DATA_DIR: "/mnt"
    COMMON_ENABLE_DATADOG: True
  roles:
    - common
    - datadog
    when: COMMON_ENABLE_DATADOG
    - jenkins_master

Add a conditional on datadog incase we want to install jenkins without datadog.
Add a conditional on datadog incase we want to install jenkins without datadog.
