浏览代码

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")