---
- name: Install xournal
  apt: name=xournal state=present

- name: Configure xournal
  copy:
    src: config
    dest: "{{ user.homedir }}/.xournal/config"
    owner: "{{ user.name }}"
    group: "{{ user.group }}"

---
- name: Install xournal
  apt: name=xournal state=present

- name:  Make sure config paths exist
  file:
    path: {{ user.homedir }}/.xournal
    owner: "{{ user.name }}"
    group: "{{ user.group }}"
    recurse: yes
    state: directory

- name: Configure xournal
  copy:
    src: config
    dest: "{{ user.homedir }}/.xournal/config"
    owner: "{{ user.name }}"
    group: "{{ user.group }}"

Fix xournal role folder name
Fix xournal role folder name
