mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
'when: X' -> 'when: X | bool' for Ansibl 2.8
This commit is contained in:
parent
176abdd2f5
commit
3a1ccf3638
89 changed files with 248 additions and 248 deletions
|
@ -7,7 +7,7 @@
|
|||
# only works if server run as root
|
||||
minetest_runas_user: root
|
||||
minetest_runas_group: root
|
||||
when: is_rpi
|
||||
when: is_rpi | bool
|
||||
|
||||
# For other installs
|
||||
- name: Set some facts for other platforms
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
name: minetest-server
|
||||
enabled: yes
|
||||
state: restarted
|
||||
when: minetest_enabled
|
||||
when: minetest_enabled | bool
|
||||
|
||||
- name: Disable 'minetest-server' service
|
||||
systemd:
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
line: "{{ item.line }}"
|
||||
with_items:
|
||||
- { regexp: '^mg_name = ', line: 'mg_name = flat' }
|
||||
when: minetest_flat_world
|
||||
when: minetest_flat_world | bool
|
||||
|
||||
- name: Create /library/games/minetest/worlds/world
|
||||
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
|
||||
when: minetest_install | bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue