-
Notifications
You must be signed in to change notification settings - Fork 1
/
android.yml
49 lines (42 loc) · 1.21 KB
/
android.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
- name: Android development
hosts: android
vars:
base: android-studio-ide-135.1740770-linux.zip
tmp: /tmp/{{base}}
url: https://dl.google.com/dl/android/studio/ide-zips/1.1.0/{{base}}
tasks:
- name: Android Studio
get_url: url={{url}}
dest={{tmp}}
sha256sum=215bc100b1c94354cece28b4b1692ffc3098f386bf76c1ebc05d393f1acd50e4
- name: Android Studio (install)
unarchive: copy=no
src={{tmp}}
dest=/opt/
creates=/opt/android-studio
# TODO: is this needed? Otherwise add a link to the studio-installed tools.
#
- name: Android Tools
become: true
pacman: name=android-tools
- name: Android USB debugging
become: true
pacman: name=android-udev
# Work around Aura bug: https://github.com/aurapm/aura/issues/14
- name: Android SDK deps
become: true
pacman: name={{item}}
with_items:
- lib32-openal
- lib32-libstdc++5
- lib32-libxv
- lib32-sdl
- swt
- name: Android SDK
become: true
archpkg: name=aur/android-sdk
- name: Android USB group (add me)
become: true
user: name=bhaskell
append=yes
groups=adbusers