ansible-desktop/roles/dwm/tasks/setup.yml

50 lines
972 B
YAML
Raw Normal View History

2020-07-01 11:45:11 +00:00
---
2022-09-03 12:59:44 +00:00
- name: install necessary software
2020-07-01 11:45:11 +00:00
become: yes
2020-07-01 14:42:35 +00:00
apt:
update_cache: yes
pkg:
- i3lock
2020-07-01 14:45:35 +00:00
- dmenu
2020-07-02 13:19:15 +00:00
- feh
2020-07-06 08:05:37 +00:00
- dunst
2020-07-09 13:35:43 +00:00
- arandr
2023-04-24 01:21:51 +00:00
- fonts-font-awesome
2023-08-26 21:57:26 +00:00
when: ansible_distribution == "Ubuntu"
- name: install necessary software
become: yes
community.general.pacman:
name:
- i3lock
- dmenu
- feh
- dunst
- arandr
- ttf-font-awesome
2023-10-24 07:18:24 +00:00
- xss-lock
2023-08-26 21:57:26 +00:00
when: ansible_distribution == "Archlinux"
2023-04-24 01:21:51 +00:00
2023-06-06 20:32:45 +00:00
- name: override dmenu_run
2023-06-06 20:57:58 +00:00
become: yes
2023-06-06 20:32:45 +00:00
copy:
src: usr/bin/dmenu_run
dest: /usr/bin/dmenu_run
mode: '0755'
2023-04-24 01:21:51 +00:00
- 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:
2022-09-03 12:59:44 +00:00
- xapp