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

Remove "| bool" 1.5yrs later, as Ansible 2.10 changed conditional_bare_variables default

This commit is contained in:
root 2020-10-16 16:46:19 -04:00
parent 2968a8a20e
commit ca171fbc1c
158 changed files with 2072 additions and 2072 deletions

View file

@ -7,7 +7,7 @@
# only works if server run as root
minetest_runas_user: root
minetest_runas_group: root
when: is_raspbian | bool
when: is_raspbian
# For other installs
- name: Set some facts for other platforms

View file

@ -5,7 +5,7 @@
name: minetest-server
enabled: yes
state: restarted
when: minetest_enabled | bool
when: minetest_enabled
- name: Disable & Stop 'minetest-server' service
systemd:

View file

@ -24,7 +24,7 @@
line: "{{ item.line }}"
with_items:
- { regexp: '^mg_name = ', line: 'mg_name = flat' }
when: minetest_flat_world | bool
when: minetest_flat_world
- name: Create /library/games/minetest/worlds/world
file:

View file

@ -49,4 +49,4 @@
with_items:
- { src: 'minetest.conf.j2', dest: '/etc/minetest/minetest.conf' }
- { src: 'minetest-server.service.j2', dest: '/etc/systemd/system/minetest-server.service' }
when: minetest_install | bool
when: minetest_install