i3: Install and template config

This commit is contained in:
2019-05-24 23:04:31 +02:00
parent 051a8879d4
commit 95fd08b44a
2 changed files with 179 additions and 0 deletions

18
roles/i3/tasks/main.yml Normal file
View File

@ -0,0 +1,18 @@
---
- name: Ensure i3 is installed
package:
name: i3
state: present
- 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