---
# handlers file for distribution
- name: restart artifactory
  become: yes
  systemd:
    name: "{{ artifactory_daemon }}"
    state: restarted

- name: stop artifactory
  become: yes
  systemd:
    name: "{{ artifactory_daemon }}"
    state: stopped