dotfiles/roles/i3/tasks/main.yml

20 lines
333 B
YAML

---
- name: Ensure i3 is installed
package:
name: i3
state: present
ignore_errors: yes
- name: Ensure folder for configuration exists
file:
path: ~/.config/i3
state: directory
recurse: yes
- name: Template config into configuration directory
template:
src: config.j2
dest: ~/.config/i3/config