Compare commits
1 Commits
75a4801134
...
14c14353f8
Author | SHA1 | Date | |
---|---|---|---|
14c14353f8 |
5
roles/llvm/tasks/Darwin.yaml
Normal file
5
roles/llvm/tasks/Darwin.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
- name: install homebrew package
|
||||||
|
homebrew:
|
||||||
|
name: llvm
|
||||||
|
state: latest
|
@ -31,6 +31,7 @@
|
|||||||
path: '/usr/local/lib/{{package_name}}'
|
path: '/usr/local/lib/{{package_name}}'
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
|
# TODO: don't extract when not actually doing a n update
|
||||||
- name: extract release archive
|
- name: extract release archive
|
||||||
become: true
|
become: true
|
||||||
unarchive:
|
unarchive:
|
||||||
@ -45,3 +46,5 @@
|
|||||||
dest: '/usr/local/bin/{{item | basename}}'
|
dest: '/usr/local/bin/{{item | basename}}'
|
||||||
state: link
|
state: link
|
||||||
with_fileglob: '/usr/local/lib/{{package_name}}/bin/*'
|
with_fileglob: '/usr/local/lib/{{package_name}}/bin/*'
|
||||||
|
|
||||||
|
# TODO: cleanup old installs?
|
||||||
|
5
roles/llvm/tasks/Windows.yaml
Normal file
5
roles/llvm/tasks/Windows.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
- name: install chocolatey package
|
||||||
|
win_chocolatey:
|
||||||
|
name: llvm
|
||||||
|
state: latest
|
Loading…
x
Reference in New Issue
Block a user