Browse Source

refactor: remove redundant conjunction

Fabian Peter Hammerle 3 years ago
parent
commit
2c16fff195
1 changed files with 0 additions and 3 deletions
  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")