1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_sway.git synced 2024-08-16 13:49:49 +02:00
ansible_role_sway/tasks/setup-Debian.yml

49 lines
1,021 B
YAML
Raw Permalink Normal View History

2017-12-31 00:56:01 +01:00
---
2023-05-19 17:07:00 +02:00
- name: Update apt cache
become: true
ansible.builtin.apt:
cache_valid_time: 3600
update_cache: true
when:
- ansible_pkg_mgr == "apt"
2024-07-17 15:45:32 +02:00
- name: Ensure swaywm is installed.
ansible.builtin.apt:
name: "{{ item }}"
state: "present"
become: true
with_items:
2024-07-17 21:47:59 +02:00
- 'sway'
- 'sway-backgrounds'
- 'swaylock'
- 'sway-notification-center'
- 'swaybg'
- 'swayidle'
- 'swayimg'
- 'wdisplays'
2024-07-25 23:17:00 +02:00
- 'cmatrix'
2024-07-17 15:45:32 +02:00
- name: Ensure font-awesome is installed
2021-11-08 12:28:11 +01:00
ansible.builtin.apt:
2024-07-17 15:45:32 +02:00
name: "{{ item }}"
2017-12-31 00:56:01 +01:00
state: "present"
become: true
2024-07-17 15:45:32 +02:00
with_items:
2024-07-17 21:47:59 +02:00
- 'fonts-font-awesome'
- 'virtualenv'
2024-07-17 15:45:32 +02:00
when: sway__dynamic_names | bool
2024-07-17 21:47:59 +02:00
- name: Ensure terminal Packages are installed
ansible.builtin.apt:
name: "{{ item }}"
state: "present"
become: true
with_items: "{{ sway__term_pkgs }}"
2024-07-27 12:16:07 +02:00
- name: Ensure launcher Packages are installed
ansible.builtin.apt:
name: "{{ item }}"
state: "present"
become: true
with_items: "{{ sway__install_launcher }}"