--- - 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