-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3426 from tim-moody/7.3.7-minetest
Upgrade MineTest to only use package on all platforms
- Loading branch information
Showing
12 changed files
with
65 additions
and
127 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
# minetest_install: False | ||
# minetest_enabled: False | ||
|
||
# minetest_port: 30000 | ||
# minetest_server_admin: Admin | ||
|
||
# minetest_default_game: carbone-ng # only carbone-ng and minetest are supported | ||
# minetest_flat_world: False | ||
|
||
# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml | ||
# Other vars set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml | ||
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! | ||
|
||
# These should not be touched unless minetest packages change | ||
minetest_server_bin: /usr/lib/minetest/minetestserver | ||
minetest_config_file: /etc/minetest/minetest.conf | ||
minetest_world_dir: /library/games/minetest/worlds/world | ||
|
||
minetest_runas_user: root | ||
minetest_runas_group: root | ||
|
||
#minetest_runas_user: Debian-minetest | ||
#minetest_runas_group: games |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
- name: Check for Minetest world file ({{ minetest_world_dir }}/world.mt) | ||
stat: | ||
path: "{{ minetest_world_dir }}/world.mt" | ||
register: minetest_world | ||
|
||
- name: mkdir /library/games | ||
file: | ||
state: directory | ||
path: /library/games | ||
# owner: root | ||
# group: root | ||
# mode: '0755' | ||
|
||
- include_tasks: minetest_install.yml | ||
when: not minetest_world.stat.exists | ||
|
||
# Install games | ||
#- include_tasks: minetest_install_games.yml | ||
# with_items: | ||
# - name: carbone-ng | ||
# url: https://github.com/Calinou/carbone-ng | ||
|
||
# Install mods | ||
- include_tasks: minetest_install_mods.yml | ||
with_items: | ||
- name: basic_materials | ||
url: https://content.minetest.net/packages/VanessaE/basic_materials/releases/14936/download/ | ||
- name: mesecons | ||
url: https://content.minetest.net/packages/Jeija/mesecons/releases/14247/download/ | ||
- name: digilines | ||
url: https://content.minetest.net/packages/Jeija/digilines/releases/13248/download/ | ||
- name: pipeworks | ||
url: https://content.minetest.net/packages/VanessaE/pipeworks/releases/7488/download/ | ||
- name: Minetest-WorldEdit | ||
url: https://content.minetest.net/packages/sfan5/worldedit/releases/13367/download/ | ||
when: minetest_default_game == "minetest" | ||
|
||
# RECORD Minetest AS INSTALLED | ||
|
||
- name: "Set 'minetest_installed: True'" | ||
set_fact: | ||
minetest_installed: True | ||
|
||
- name: "Add 'minetest_installed: True' to {{ iiab_state_file }}" | ||
lineinfile: | ||
path: "{{ iiab_state_file }}" # /etc/iiab/iiab_state.yml | ||
regexp: '^minetest_installed' | ||
line: 'minetest_installed: True' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters