Skip to content

Commit

Permalink
fix: use changed instead of skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
pshenmic committed Aug 22, 2023
1 parent e46215e commit 53d5822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/dashmate/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ Dashmate Config Changed: {{ is_dashmate_config_changed }}\n"
chdir: '{{ dashmate_cwd }}'
register: dashmate_restart
when:
- dashmate_start_platform.skipped and dashmate_start.skipped
- not dashmate_start_platform.changed and not dashmate_start.changed
- is_core_images_updated or is_dashmate_package_changed or is_dashmate_config_changed
changed_when: dashmate_restart.rc == 0

Expand Down

0 comments on commit 53d5822

Please sign in to comment.