- with_lines: cat ~/config/ansible/files/apt-mark_new/{{ system_name }}/minimal_x | sed -e 's/ *#.*$//'
- #- name: ensure 3d acceleration and optimus switch
+ with_lines: cat ~/config/ansible/files/apt-mark_new/minimal/minimal_x | sed -e 's/ *#.*$//'
+ - name: ensure 3d acceleration
+ apt: name={{item}} state=present
+ with_lines: cat ~/config/ansible/files/apt-mark_new/minimal/3d_acceleration | sed -e 's/ *#.*$//'
+ #- name: ensure optimus switch