From 3950c81a80bdb66f525ca1baef7ffd6dcd526cad Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Mon, 24 Apr 2023 03:21:51 +0200 Subject: [PATCH] Update dwm tasks --- roles/dwm/tasks/dwm.yml | 6 ++++++ roles/dwm/tasks/setup.yml | 16 ++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/roles/dwm/tasks/dwm.yml b/roles/dwm/tasks/dwm.yml index 9737590..fdba05a 100644 --- a/roles/dwm/tasks/dwm.yml +++ b/roles/dwm/tasks/dwm.yml @@ -57,3 +57,9 @@ - name: debug debug: msg="{{ make.stdout }}" + +- name: install additional packages + become: yes + apt: + pkg: + - gsimplecal diff --git a/roles/dwm/tasks/setup.yml b/roles/dwm/tasks/setup.yml index 07d08a2..66a3176 100644 --- a/roles/dwm/tasks/setup.yml +++ b/roles/dwm/tasks/setup.yml @@ -9,4 +9,20 @@ - feh - dunst - arandr + - fonts-font-awesome + +- name: install necessary software + when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "23.04" + become: yes + apt: + update_cache: yes + pkg: + - libxapp1 + +- name: install necessary software + when: ansible_distribution == "Ubuntu" and ansible_distribution_version != "23.04" + become: yes + apt: + update_cache: yes + pkg: - xapp