# file: nginx/meta/main.yml

galaxy_info:
  author: pjan vandaele
  company: Ansibles
  description: Install and configure Nginx
  min_ansible_version: 1.4
  license: MIT
  platforms:
  - name: Ubuntu
    versions:
    - all
  categories:
  - system

dependencies:
  - Ansibles.hostname
  - Ansibles.apt
  - Ansibles.build-essential
  - Ansibles.perl
  - Ansibles.monit

# file: nginx/meta/main.yml

galaxy_info:
  author: pjan vandaele
  company: Ansibles
  description: Install and configure Nginx
  min_ansible_version: 1.4
  license: MIT
  platforms:
  - name: Ubuntu
    versions:
    - all
  categories:
  - system

dependencies:
  - Ansibles.hostname
  - Ansibles.apt
  - Ansibles.build-essential
  - Ansibles.perl
  - role: Ansibles.monit
    when: monit_protection is defined and monit_protection == true

Add condition to Ansible.monit dependency
Add condition to Ansible.monit dependency