From 8a783d63fb039dc9dbdaf47399b6c9a1b7a90088 Mon Sep 17 00:00:00 2001 From: 927589452 Date: Thu, 12 Sep 2019 21:27:39 +0200 Subject: [PATCH] add freebsd power --- tasks/FreeBSD-power.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tasks/FreeBSD-power.yml b/tasks/FreeBSD-power.yml index a0cf2c6..aec3347 100644 --- a/tasks/FreeBSD-power.yml +++ b/tasks/FreeBSD-power.yml @@ -42,6 +42,16 @@ tags: - configuration +- name: FreeBSD power| tweaks for use as a desktop + blockinfile: + path: "/boot/loader.conf" + block: "{{ lookup('file', 'block-FreeBSD-power-deskop.j2') }}" + marker: "# {mark} ANSIBLE MANAGED BLOCK tweaks for desktop" + become: true + tags: + - configuration + + - name: setup suspend on lid close sysctl: name: "{{ item.name }}"