mirror of
https://github.com/roles-ansible/ansible_role_sway.git
synced 2024-08-16 13:49:49 +02:00
14 lines
288 B
YAML
14 lines
288 B
YAML
---
|
|
- name: Update apt cache
|
|
become: true
|
|
ansible.builtin.apt:
|
|
cache_valid_time: 3600
|
|
update_cache: true
|
|
when:
|
|
- ansible_pkg_mgr == "apt"
|
|
|
|
- name: Ensure i3 packages are installed.
|
|
ansible.builtin.apt:
|
|
name: "{{ i3_packages }}"
|
|
state: "present"
|
|
become: true
|