chore: non-cifs nextcloud, partsy, zomboid updates
This commit is contained in:
@@ -148,7 +148,7 @@
|
||||
when: zomboid_ini_stat.stat.exists
|
||||
tags: zomboid-conf
|
||||
|
||||
# Mod configuration (only for modded server profile)
|
||||
# Mod configuration for 'modded' server profile
|
||||
- name: configure zomboid mods for modded server
|
||||
become: true
|
||||
ansible.builtin.lineinfile:
|
||||
@@ -163,6 +163,33 @@
|
||||
- zomboid_ini_stat.stat.exists
|
||||
tags: zomboid-conf
|
||||
|
||||
# Mod configuration for 'b42revamp' server profile (168 mods from Steam collection)
|
||||
- name: configure zomboid mods for b42revamp server
|
||||
become: true
|
||||
ansible.builtin.lineinfile:
|
||||
path: "{{ zomboid_path }}/data/Server/{{ zomboid_server_names[zomboid_server_mode] }}.ini"
|
||||
regexp: "^{{ item.key }}="
|
||||
line: "{{ item.key }}={{ item.value }}"
|
||||
loop:
|
||||
- { key: "Mods", value: "{{ zomboid_mods_b42revamp.mod_ids }}" }
|
||||
- { key: "WorkshopItems", value: "{{ zomboid_mods_b42revamp.workshop_items }}" }
|
||||
when:
|
||||
- zomboid_server_mode == 'b42revamp'
|
||||
- zomboid_ini_stat.stat.exists
|
||||
tags: zomboid-conf
|
||||
|
||||
# Map configuration (for modded servers with custom maps)
|
||||
- name: configure zomboid map
|
||||
become: true
|
||||
ansible.builtin.lineinfile:
|
||||
path: "{{ zomboid_path }}/data/Server/{{ zomboid_server_names[zomboid_server_mode] }}.ini"
|
||||
regexp: "^Map="
|
||||
line: "Map={{ zomboid_maps[zomboid_server_mode] }}"
|
||||
when:
|
||||
- zomboid_server_mode != 'vanilla'
|
||||
- zomboid_ini_stat.stat.exists
|
||||
tags: zomboid-conf
|
||||
|
||||
# World reset tasks REMOVED - too dangerous to have in automation
|
||||
# To reset the world manually:
|
||||
# 1. Stop the server: systemctl --user stop zomboid.service
|
||||
|
||||
Reference in New Issue
Block a user