X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=ansible%2Fconfig.yml;h=3386c91a46f6e3c25be3fc79d4e8c07c172d1c28;hb=53ac7fcda43e961e1d756b1bb93ccd34a1ab07cb;hp=fa4fadf32b5f48d742b3cabdfeffd85d5ed452d9;hpb=be1275dfcec664b6e53833ccea481d1255e4c4d1;p=config
diff --git a/ansible/config.yml b/ansible/config.yml
index fa4fadf..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/ *#.*$//'
@@ -93,6 +95,13 @@
apt: name={{item}} state=present
with_lines: cat ~/config/ansible/files/apt-mark/multimedia | sed -e 's/ *#.*$//'
+ # Ensure hotkeys.
+ #
+ # For some reason, the brightness hotkeys still won't be available unless acpid is restarted (yes, after reboot).
+ - name: ensure hotkeys
+ apt: name={{item}} state=present
+ with_lines: cat ~/config/ansible/files/apt-mark/hotkeys | sed -e 's/ *#.*$//'
+
# Remove undesired packages
- name: collect desired packages
shell: cat files/apt-mark/* | sed -e 's/ *#.*$//' > /tmp/white_list_unsorted && sort /tmp/white_list_unsorted > /tmp/white_list_sorted