mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Mostly var cleanup across ~80 files
This commit is contained in:
parent
a6112381a3
commit
814efd5a02
88 changed files with 679 additions and 260 deletions
|
@ -1,18 +1,18 @@
|
|||
# Calculate local variables
|
||||
- include_tasks: calc_vars.yml
|
||||
|
||||
- name: Check for minetest world file ({{ minetest_world_dir }}/world.mt)
|
||||
- name: Check for Minetest world file ({{ minetest_world_dir }}/world.mt)
|
||||
stat:
|
||||
path: "{{ minetest_world_dir }}/world.mt"
|
||||
register: minetest_world
|
||||
|
||||
- name: Create /library/games
|
||||
- name: mkdir /library/games
|
||||
file:
|
||||
state: directory
|
||||
path: /library/games
|
||||
# owner: root
|
||||
# group: root
|
||||
# mode: 0755
|
||||
# mode: '0755'
|
||||
|
||||
# rpi only
|
||||
- include_tasks: rpi_minetest_install.yml
|
||||
|
@ -28,7 +28,7 @@
|
|||
depth: 1
|
||||
when: not minetest_world.stat.exists and minetest_default_game == "carbone-ng"
|
||||
|
||||
- name: Give minetest user ownership of carbone-ng
|
||||
- name: Give Minetest user ownership of carbone-ng
|
||||
file:
|
||||
state: directory
|
||||
path: "{{ minetest_game_dir }}"
|
||||
|
@ -69,6 +69,13 @@
|
|||
path: "{{ minetest_game_dir }}/mods/name_restrictions"
|
||||
when: minetest_default_game == "carbone-ng"
|
||||
|
||||
|
||||
# RECORD Minetest AS INSTALLED
|
||||
|
||||
- name: "Set 'minetest_installed: True'"
|
||||
set_fact:
|
||||
minetest_installed: True
|
||||
|
||||
- name: "Add 'minetest_installed: True' to {{ iiab_state_file }}"
|
||||
lineinfile:
|
||||
dest: "{{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue