diff --git a/roles/i3/tasks/main.yml b/roles/i3/tasks/main.yml index 33d3b8e..daa8a2d 100644 --- a/roles/i3/tasks/main.yml +++ b/roles/i3/tasks/main.yml @@ -116,8 +116,12 @@ clone: true update: false - name: Build - shell: cd ~/.git_clones/i3blocks && ./autogen.sh && ./configure && make + shell: + cmd: ./autogen.sh && ./configure && make + chdir: ~/.git_clones/i3blocks - name: Install become: true - shell: cd {{ ansible_facts.user_dir }}/.git_clones/i3blocks && make install + shell: + cmd: make install + chdir: "{{ ansible_facts.user_dir }}/.git_clones/i3blocks" when: ansible_facts['distribution'] == 'Debian'