From 6e8ce272b7baf92a1deff4ff7eff44ec1d4022e7 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Thu, 20 Apr 2017 03:28:58 +0200
Subject: [PATCH] w530 ansible: Ensure user plom is in bumblebee group.

---
 ansible/config.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ansible/config.yml b/ansible/config.yml
index cdfec12..3386c91 100644
--- a/ansible/config.yml
+++ b/ansible/config.yml
@@ -74,6 +74,8 @@
   - name: ensure 3d acceleration and optimus switch
     apt: name={{item}} state=present
     with_lines: cat ~/config/ansible/files/apt-mark/3d_acceleration | sed -e 's/ *#.*$//'
+  - name: ensure user plom is in bumblebee group
+    user: name=plom groups=bumblebee append=yes
   - name: ensure basic X tools
     apt: name={{item}} state=present
     with_lines: cat ~/config/ansible/files/apt-mark/basic_x_tools | sed -e 's/ *#.*$//'
-- 
2.30.2