- hosts: cas-servers
  tasks:
  - name: Include common
    include_role:
      name: common
  - name: Install java
    include_role:
      name: java
  - apt_repository:
      repo: ppa:chris-lea/redis-server
      update_cache: yes
  - apt:
      name: "{{ packages }}"
      update_cache: yes
    vars:
      packages:
      - redis-server
  - name: Install mysql
    include_role:
      name: mysql-5.7
  - name: Install mongo
    include_role:
      name: mongodb-org
- name: include default cas 5 steps
  import_playbook: aws-cas-5.yml
- hosts: cas-servers
  vars:
    cas_add_mongo_users: true
  tasks:
  - name: Include common
    include_role:
      name: common
  - name: Install java
    include_role:
      name: java
  - apt_repository:
      repo: ppa:chris-lea/redis-server
      update_cache: yes
  - apt:
      name: "{{ packages }}"
      update_cache: yes
    vars:
      packages:
      - redis-server
  - name: Install mysql
    include_role:
      name: mysql-5.7
  - name: Install mongo
    include_role:
      name: mongodb-org
- name: include default cas 5 steps
  import_playbook: aws-cas-5.yml
Add mongodb users by default
Add mongodb users by default
