- name: update apt cache
  tags: gui
  apt:
    update_cache: yes
    cache_valid_time: 3600

- name: apt-get common dependencies
  tags: gui
  apt:
    name: "{{ item }}"
    state: present
    autoremove: yes
  with_items:
    - tightvncserver
    - openbox
    - firefox

- name: update apt cache
  tags: gui
  apt:
    update_cache: yes
    cache_valid_time: 3600

- name: apt-get common dependencies
  tags: gui
  apt:
    name: "{{ item }}"
    state: present
    autoremove: yes
  with_items:
    - tightvncserver
    - fluxbox
    - firefox

Use fluxbox instead of openbox for graphical (VNC) sessions
Use fluxbox instead of openbox for graphical (VNC) sessions
