spark/roles/office/tasks/main.yml
2019-11-06 20:23:35 -08:00

82 lines
1.5 KiB
YAML

---
- name: Install LibreOffice
pacman:
name: libreoffice-fresh
state: present
- name: Jail LibreOffice
file:
src: /usr/bin/firejail
dest: /usr/local/bin/libreoffice
state: link
tags:
- firejail
- name: Verify LibreOffice firejail local profile exists
file:
path: /etc/firejail/libreoffice.local
state: touch
tags:
- firejail
- name: Restrict LibreOffice network access
lineinfile:
dest: /etc/firejail/libreoffice.local
regexp: "^net"
line: "net none"
tags:
- firejail
- name: Restrict LibreOffice access to /etc
lineinfile:
dest: /etc/firejail/libreoffice.local
regexp: "^private-etc"
line: "private-etc firejail,libreoffice,fonts,passwd"
tags:
- firejail
- name: Install enscript
pacman:
name: enscript
state: present
- name: Install Simple Scan
pacman:
name: simple-scan
state: present
- name: Install pandoc and dependencies
pacman:
name:
- pandoc
- pandoc-citeproc
state: present
- name: Install texlive-core
pacman:
name: texlive-core
state: present
- name: Install texlive-latexextra
pacman:
name: texlive-latexextra
state: present
- name: Install qalculate
pacman:
name: qalculate-gtk
state: present
- name: Install undertime and dependencies
aur:
name:
- python-dateparser
- python-undertime
user: "{{ user.name }}"
tags:
- aur
- name: Install GNU Plot
pacman:
name: gnuplot
state: present