Use shell chdir instead of cd
This commit is contained in:
parent
dee35e80e9
commit
36861ec8f7
1 changed files with 6 additions and 2 deletions
|
@ -116,8 +116,12 @@
|
||||||
clone: true
|
clone: true
|
||||||
update: false
|
update: false
|
||||||
- name: Build
|
- name: Build
|
||||||
shell: cd ~/.git_clones/i3blocks && ./autogen.sh && ./configure && make
|
shell:
|
||||||
|
cmd: ./autogen.sh && ./configure && make
|
||||||
|
chdir: ~/.git_clones/i3blocks
|
||||||
- name: Install
|
- name: Install
|
||||||
become: true
|
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'
|
when: ansible_facts['distribution'] == 'Debian'
|
||||||
|
|
Loading…
Add table
Reference in a new issue