Browse Source

refactor: remove redundant conjunction

Fabian Peter Hammerle 3 năm trước cách đây
mục cha
commit
2c16fff195
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      tasks/main.yml

+ 0 - 3
tasks/main.yml

@@ -27,6 +27,3 @@
     _config_file.changed
     _config_file.changed
     or systemd_unit_enabled is defined
     or systemd_unit_enabled is defined
     or systemd_unit_state is defined
     or systemd_unit_state is defined
-    or (_config_file.changed
-        and 'ActiveState' in _unit.status
-        and systemd_unit.status.ActiveState == "active")