---
- fail: msg="License key is not set."
  when: newrelic_sysmond_license_key is none

- include: RedHat-install.yml
  when: ansible_os_family == "RedHat"

- include: Debian-install.yml
  when: ansible_os_family == "Debian"

- include: configure.yml

- include: service.yml

---
- name: New Relic sysmond | Check for license key
  fail: msg="License key is not set."
  when: newrelic_sysmond_license_key is none

- include: RedHat-install.yml
  when: ansible_os_family == "RedHat"

- include: Debian-install.yml
  when: ansible_os_family == "Debian"

- include: configure.yml

- include: service.yml

Add name to license check.
Add name to license check.
