From 7eecda7ccbfcc4b8d7160dc36b0db377bef59953 Mon Sep 17 00:00:00 2001 From: Ivan Reshetnikov Date: Sat, 22 Jun 2024 11:57:39 +0500 Subject: [PATCH] feat: add clean up role --- cleanup.yml | 4 ++++ roles/cleanup/tasks/main.yml | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 cleanup.yml create mode 100644 roles/cleanup/tasks/main.yml diff --git a/cleanup.yml b/cleanup.yml new file mode 100644 index 0000000..3b4dc5b --- /dev/null +++ b/cleanup.yml @@ -0,0 +1,4 @@ +- name: Cleanup + hosts: odhosts + roles: + - cleanup diff --git a/roles/cleanup/tasks/main.yml b/roles/cleanup/tasks/main.yml new file mode 100644 index 0000000..25f4467 --- /dev/null +++ b/roles/cleanup/tasks/main.yml @@ -0,0 +1,12 @@ +- name: Remove some qt apps + become: true + ansible.builtin.apt: + pkg: + - plasma-desktop + - plasma-discover + - plasma-workspace + - plasma-framework + - dolphin + - plasma-systemmonitor + state: absent + autoremove: yes