Skip to content

Commit

Permalink
[fix] brackets expression for tenary filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Carrol Cox committed Aug 5, 2020
1 parent 22b7f30 commit 7a15930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
- name: check pganalyze-collector service state
service:
name: pganalyze-collector
state: "{{ pganalyze_service_state == 'stopped' | ternary('stopped', 'started') }}"
state: "{{ (pganalyze_service_state == 'stopped') | ternary('stopped', 'started') }}"

0 comments on commit 7a15930

Please sign in to comment.