1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update rpi_minetest_install.yml

This commit is contained in:
A Holt 2019-02-07 20:51:11 -05:00 committed by GitHub
parent 111d69af06
commit 007356a8d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@
rpi_src_url: http://www.nathansalapat.com/downloads/0.4.17.1.tar.gz
rpi_src: minetest-0.4.17.1.tar.gz
- name: Install 'libhiredis-dev' package for minetest
- name: Install 'libhiredis-dev' package for Minetest
package:
name: libhiredis-dev
state: present
@ -14,13 +14,13 @@
# meta: end_play
# when: minetest_world.stat.exists
- name: Download minetest for rpi
- name: Download Minetest {{ rpi_src_url }} for RPi
get_url:
url: "{{ rpi_src_url }}"
dest: "{{ downloads_dir }}/{{ rpi_src }}"
timeout: "{{ download_timeout }}"
- name: Create /etc/minetest and /library/games directories
- name: Create dirs /etc/minetest and /library/games
file:
state: directory
path: "{{ item }}"
@ -31,7 +31,7 @@
- /etc/minetest
- /library/games
- name: Create /var/log/minetest directory
- name: Create dir /var/log/minetest
file:
state: directory
path: /var/log/minetest
@ -39,7 +39,7 @@
group: "{{ minetest_runas_group }}"
mode: 0755
- name: Extract minetest into /library/games
- name: Extract {{ downloads_dir }}/{{ rpi_src }} into /library/games
unarchive:
src: "{{ downloads_dir }}/{{ rpi_src }}"
dest: /library/games