home · contact · privacy
w530 ansible: Ensure user plom is in bumblebee group.
authorChristian Heller <c.heller@plomlompom.de>
Thu, 20 Apr 2017 01:28:58 +0000 (03:28 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Thu, 20 Apr 2017 01:28:58 +0000 (03:28 +0200)
ansible/config.yml

index cdfec12c2669efda0abf6d7795cd3ca1329098d2..3386c91a46f6e3c25be3fc79d4e8c07c172d1c28 100644 (file)
@@ -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/ *#.*$//'