From: Christian Heller <c.heller@plomlompom.de>
Date: Thu, 20 Apr 2017 01:28:58 +0000 (+0200)
Subject: w530 ansible: Ensure user plom is in bumblebee group.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/decks/todo?a=commitdiff_plain;h=6e8ce272b7baf92a1deff4ff7eff44ec1d4022e7;p=config

w530 ansible: Ensure user plom is in bumblebee group.
---

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/ *#.*$//'