feat: add task to purge LibreOffice and related packages
This commit is contained in:
parent
bc930e6f42
commit
880be26270
20
config/ansible/tasks/workstations/purge-libreoffice.yml
Normal file
20
config/ansible/tasks/workstations/purge-libreoffice.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
- name: Purge LibreOffice and related packages
|
||||||
|
become: true
|
||||||
|
ansible.builtin.apt:
|
||||||
|
name:
|
||||||
|
- libreoffice*
|
||||||
|
- libreoffice-common
|
||||||
|
- libreoffice-core
|
||||||
|
- libreoffice-writer
|
||||||
|
- libreoffice-calc
|
||||||
|
- libreoffice-impress
|
||||||
|
- libreoffice-draw
|
||||||
|
- libreoffice-base
|
||||||
|
- libreoffice-math
|
||||||
|
- libreoffice-gnome
|
||||||
|
- libreoffice-gtk3
|
||||||
|
state: absent
|
||||||
|
purge: true
|
||||||
|
autoremove: true
|
||||||
|
update_cache: true
|
@ -31,6 +31,9 @@
|
|||||||
- name: Include Firefox PWA tasks
|
- name: Include Firefox PWA tasks
|
||||||
ansible.builtin.import_tasks: tasks/workstations/firefoxpwa.yml
|
ansible.builtin.import_tasks: tasks/workstations/firefoxpwa.yml
|
||||||
|
|
||||||
|
- name: Include purge LibreOffice tasks
|
||||||
|
ansible.builtin.import_tasks: tasks/workstations/purge-libreoffice.yml
|
||||||
|
|
||||||
- name: Ensure workstation common packages are installed
|
- name: Ensure workstation common packages are installed
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user