Преглед на файлове

refactor: remove redundant conjunction

Fabian Peter Hammerle преди 3 години
родител
ревизия
2c16fff195
променени са 1 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. 0 3
      tasks/main.yml

+ 0 - 3
tasks/main.yml

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