home · contact · privacy
Fix some more bugs in new ansible tree.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 10 Sep 2017 11:22:51 +0000 (13:22 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 10 Sep 2017 11:22:51 +0000 (13:22 +0200)
ansible/config_new.yml
ansible/files/apt-mark_new/W530/minimal_x [deleted file]
ansible/files/apt-mark_new/X200s/minimal_x [deleted file]
ansible/files/apt-mark_new/minimal/minimal_x [new file with mode: 0644]
ansible/files/console/___etc___default___keyboard

index 2f86ac3a550c68b7eeba92d98c30adfd83942fcd..55ecd907720d276dcd891e622b1d3b4b26f366e3 100644 (file)
@@ -71,7 +71,7 @@
   # Ensure X window environment.
   - name: ensure minimal X window environment
     apt: name={{item}} state=present
-    with_lines: cat ~/config/ansible/files/apt-mark_new/{{ system_name }}/minimal_x | sed -e 's/ *#.*$//'
+    with_lines: cat ~/config/ansible/files/apt-mark_new/minimal/minimal_x | sed -e 's/ *#.*$//'
   #- 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/ *#.*$//'
 
   # Remove undesired packages
   - name: collect desired packages
-    shell: cat files/apt-mark/minimal/* files/apt-mark_new/{{ system_name }}/*  | sed -e 's/ *#.*$//' > /tmp/white_list_unsorted && sort /tmp/white_list_unsorted > /tmp/white_list_sorted
+    shell: cat files/apt-mark_new/minimal/* files/apt-mark_new/{{ system_name }}/*  | sed -e 's/ *#.*$//' > /tmp/white_list_unsorted && sort /tmp/white_list_unsorted > /tmp/white_list_sorted
   - name: collect currently installed packages
     shell: dpkg-query -Wf '${Package}\n' > /tmp/all_unsorted && sort /tmp/all_unsorted > /tmp/all_sorted
   - name: create black list of packages to mark as automatically installed from the difference between the required packages and the packages currently installed
diff --git a/ansible/files/apt-mark_new/W530/minimal_x b/ansible/files/apt-mark_new/W530/minimal_x
deleted file mode 100644 (file)
index f785794..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-libpam-systemd  # needed to start X as non-root
-xinit  # contains startx
-xserver-xorg-core
-xserver-xorg-input-evdev  # supports all input devices the kernel knows about
diff --git a/ansible/files/apt-mark_new/X200s/minimal_x b/ansible/files/apt-mark_new/X200s/minimal_x
deleted file mode 100644 (file)
index 04cbc9c..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-libpam-systemd  # needed to start X as non-root
-xinit  # contains startx
-xserver-xorg-core
diff --git a/ansible/files/apt-mark_new/minimal/minimal_x b/ansible/files/apt-mark_new/minimal/minimal_x
new file mode 100644 (file)
index 0000000..f785794
--- /dev/null
@@ -0,0 +1,4 @@
+libpam-systemd  # needed to start X as non-root
+xinit  # contains startx
+xserver-xorg-core
+xserver-xorg-input-evdev  # supports all input devices the kernel knows about
index b8f918b2d63332d9bc0f4fd61a78265fb128a714..25a46b76c7be0fa17a1663c8a076cc788e10fdae 100644 (file)
@@ -1 +1,2 @@
+XKBMODEL="pc105"  # questionable, but works fine as default
 XKBLAYOUT="de"