From c781e64968284907ee22a1647faf2e4f6bf86389 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Mon, 25 Feb 2019 15:56:07 +0000 Subject: [PATCH] Disable wireless power management on the Google Laptop platform --- .../tasks/includes/platform_google_laptop.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.ansible/roles/linux_desktop/tasks/includes/platform_google_laptop.yaml b/.ansible/roles/linux_desktop/tasks/includes/platform_google_laptop.yaml index bb38ac2..d4bd142 100644 --- a/.ansible/roles/linux_desktop/tasks/includes/platform_google_laptop.yaml +++ b/.ansible/roles/linux_desktop/tasks/includes/platform_google_laptop.yaml @@ -8,3 +8,10 @@ src: files/google-laptop-audio.tar.gz dest: / become: true + + - name: 'Platform: Google Laptop: Disable wireless power management' + copy: + dest: /etc/pm/sleep.d/wifi_pwr_off + content: '/sbin/iwconfig wlp1s0 power off' + mode: '0500' + become: true