# Configure a Jenkins worker instance
# This has all the requirements to run test jobs,
# but not the Jenkins Java app.

- name: Configure instance(s)
  hosts: jenkins_worker
  become: True
  gather_facts: True
  vars:
    mongo_enable_journal: False
    serial_count: 1
    platform_worker: True
    COMMON_SECURITY_UPDATES: yes
    SECURITY_UPGRADE_ON_ANSIBLE: true
    MONGO_AUTH: false
  serial: "{{ serial_count }}"
  vars_files:
    - roles/edxapp/defaults/main.yml
    - roles/xqueue/defaults/main.yml
    - roles/xserver/defaults/main.yml
    - roles/forum/defaults/main.yml
  roles:
    - aws
    - mysql
    - edxlocal
    - memcache
    - mongo
    - browsers
    - browsermob-proxy
    - jenkins_worker

# Configure a Jenkins worker instance
# This has all the requirements to run test jobs,
# but not the Jenkins Java app.

- name: Configure instance(s)
  hosts: jenkins_worker
  become: True
  gather_facts: True
  vars:
    mongo_enable_journal: False
    serial_count: 1
    platform_worker: True
    COMMON_SECURITY_UPDATES: yes
    SECURITY_UPGRADE_ON_ANSIBLE: true
    MONGO_AUTH: false
  serial: "{{ serial_count }}"
  vars_files:
    - roles/edxapp/defaults/main.yml
    - roles/xqueue/defaults/main.yml
    - roles/xserver/defaults/main.yml
    - roles/forum/defaults/main.yml
  roles:
    - aws
    - mysql
    - edxlocal
    - memcache
    - mongo_3_2
    - browsers
    - browsermob-proxy
    - jenkins_worker

Update the jenkins workers to run mongo 3.2 by default.
Update the jenkins workers to run mongo 3.2 by default.
