Skip to content

Commit

Permalink
Remove Explicit Wifi Power Management "Disable"
Browse files Browse the repository at this point in the history
Remove the explicit disable of the power management disable service as
this causes issues when the flag is set to false on a first run (where
there are obviously no systemd scripts available).
  • Loading branch information
jekhokie committed Feb 15, 2021
1 parent c7833d1 commit 84c8c68
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ansible/roles/common/tasks/configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,4 @@
name: disable-wifi-powermgmt.service
enabled: yes
when: (wifi_powermgmt_script.changed or wifi_powermgmt_service.changed) and (disable_wifi_power_mgmt|bool)

- name: disable systemd wifi power management disable service
become: yes
systemd:
daemon_reload: yes
name: disable-wifi-powermgmt.service
enabled: no
when: not disable_wifi_power_mgmt|bool
...

0 comments on commit 84c8c68

Please sign in to comment.