- name: Perform installation
  include_tasks: "install.yml"
  when:
    - artifactory_enabled
    - not artifactory_upgrade_only

- name: Perform upgrade
  include_tasks: "upgrade.yml"
  when:
    - artifactory_enabled
    - artifactory_upgrade_only
