Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tasks/service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

- include_tasks: service/systemd.yml
when: deploy_service_type == "systemd" or
(deploy_service_type == "default" and (ansible_distribution == "CentOS" or ansible_distribution == "RedHat") and ansible_distribution_major_version == '7')
(deploy_service_type == "default" and (ansible_distribution == "CentOS" or ansible_distribution == "RedHat") and ansible_distribution_major_version >= '7')

- name: "Service - Ensure {{ deploy_service_name }} starts on boot"
become: yes
Expand Down