-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.yml
More file actions
55 lines (49 loc) · 1.24 KB
/
Copy pathinstall.yml
File metadata and controls
55 lines (49 loc) · 1.24 KB
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
50
51
52
53
54
55
---
# set vars for archive dynamic urls with -e "SNES=<%= archives.link('ROMs', 'SNES Roms.rar', 1200) %>"
#
- name: Install RetroArch
hosts: all
gather_facts: true
become: true
tasks:
- name: Add Libretro Repo
apt_repository:
repo: ppa:libretro/stable
state: present
update_cache: yes
- name: Install Required Packages
package:
name:
- retroarch
- xfce4
- xfce4-goodies
- xrdp
- 7zip
- open-vm-tools-desktop
state: present
- name: Install Cores
package:
name:
- libretro-snes9x
- libretro-genesisplusgx
- libretro-mgba
state: present
- name: Create Required Directories
file:
path: "{{ item }}"
state: directory
owner: root
group: root
mode: 0777
loop:
- /media/GameboyAdvanced
- /media/GameboyMono
- /media/Genisis
- /media/NES
- /media/SNES
- /tmp/downloads
- name: Import SNES
shell:
cmd: "{{ SNES }}"
dest: /media/SNES
remote_src: yes