Skip to content

Commit 44a8f7d

Browse files
author
nolte
committed
cast to string
1 parent 7f51806 commit 44a8f7d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tasks/download/fetch_version_download-curl.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
- name: extract version specific mainfest file
1717
set_fact:
18-
minecraft_version_manifest_url: "{{ (minecraft_versions.stdout | from_json).versions | selectattr('id','match', minecraft_version ) | map(attribute='url') | list | first }}"
18+
minecraft_version_manifest_url: "{{ (minecraft_versions.stdout | from_json).versions | selectattr('id','match', (minecraft_version|string) ) | map(attribute='url') | list | first }}"
1919

2020
- debug: var=minecraft_version_manifest_url
2121

tasks/download/fetch_version_download-uri.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
- name: extract version specific mainfest file
1919
set_fact:
20-
minecraft_version_manifest_url: "{{ minecraft_versions.json.versions | selectattr('id','match', minecraft_version ) | map(attribute='url') | list | first }}"
20+
minecraft_version_manifest_url: "{{ minecraft_versions.json.versions | selectattr('id','match', (minecraft_version|string) ) | map(attribute='url') | list | first }}"
2121

2222
- name: Download the version specific mainfest file
2323
uri:

tests/spigot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
roles:
44
- role: devops-coop.minecraft
55
minecraft_server: spigot
6-
minecraft_version: "1.9"
6+
minecraft_version: 1.9
77
minecraft_server_properties:
88
server-port: 25565
99
rcon.port: 25564

0 commit comments

Comments
 (0)