15 lines
439 B
YAML
15 lines
439 B
YAML
---
|
|
- name: Clone powershell-bin
|
|
git:
|
|
repo: https://aur.archlinux.org/powershell-bin.git
|
|
dest: ~/builds/powershell-bin
|
|
clone: yes
|
|
when: ansible_distribution == 'Archlinux'
|
|
|
|
- name: Make and install powershell-bin
|
|
command:
|
|
cmd: makepkg -cirs --needed
|
|
chdir: ~/builds/powershell-bin
|
|
when: ansible_distribution == 'Archlinux'
|
|
register: result
|
|
changed_when: "'installing existing package' not in result.stderr"
|