Skip to content

Commit

Permalink
Correctly disable ntp install for onprem
Browse files Browse the repository at this point in the history
Summary:
D8085 incorrectly wrapped the when conditional for disabling onprem. Fixedd it so the braces
completely encompass the conditional.

Test Plan: onprem install - make sure it doens't have ntp

Reviewers: ram, bogdan, alan

Reviewed By: alan

Subscribers: jenkins-bot, yugaware

Differential Revision: https://phabricator.dev.yugabyte.com/D8110
  • Loading branch information
WesleyW committed Mar 10, 2020
1 parent 8d4198e commit d16f8e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
name: ntp
state: restarted
when: ansible_distribution == "Ubuntu"
when: not should_setup_chrony and not air_gap and "{{ cloud_type != 'onprem' }}"
when: "{{ not should_setup_chrony and not air_gap and cloud_type != 'onprem' }}"

- block:
- name: Uninstall NTP if available
Expand Down

0 comments on commit d16f8e3

Please sign in to comment.