Giter VIP home page Giter VIP logo

ansible-minecraft's People

Contributors

benwebber avatar bl1nk avatar brahmlower avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar granddave avatar joshuacherry avatar nolte avatar simonmcc avatar the-technat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ansible-minecraft's Issues

Spigot/systemd enters restart loop when issuing the /restart command

Hi!

I used your amazing ansible role to provision a minecraft 1.15.2 server with spigot. But it seems the server enters a restart loop when I issue the /restart command. Here is an extract from the journal:

log excerpt
Mar 18 22:28:28 nora java[13172]: [22:28:28] [Server thread/INFO]: ScrappyMan25 issued server command: /restart
Mar 18 22:28:28 nora java[13172]: [22:28:28] [Server thread/INFO]: Startup script './start.sh' does not exist! Stopping server.
Mar 18 22:28:28 nora java[13172]: [22:28:28] [Server thread/INFO]: Stopping server
Mar 18 22:28:28 nora java[13172]: [22:28:28] [Server thread/INFO]: Saving players
Mar 18 22:28:28 nora java[13172]: [22:28:28] [Server thread/INFO]: RAZZARYAN lost connection: Server closed
Mar 18 22:28:28 nora java[13172]: [22:28:28] [Server thread/INFO]: RAZZARYAN left the game
Mar 18 22:28:28 nora java[13172]: [22:28:28] [Server thread/INFO]: eisenmagier lost connection: Server closed
Mar 18 22:28:28 nora java[13172]: [22:28:28] [Server thread/INFO]: eisenmagier left the game
Mar 18 22:28:28 nora java[13172]: [22:28:28] [Server thread/INFO]: ScrappyMan25 lost connection: Server closed
Mar 18 22:28:28 nora java[13172]: [22:28:28] [Server thread/INFO]: ScrappyMan25 left the game
Mar 18 22:28:28 nora java[13172]: [22:28:28] [Server thread/INFO]: Aolsen96 lost connection: Server closed
Mar 18 22:28:28 nora java[13172]: [22:28:28] [Server thread/INFO]: Aolsen96 left the game
Mar 18 22:28:28 nora java[13172]: [22:28:28] [Server thread/INFO]: RinSenya lost connection: Server closed
Mar 18 22:28:28 nora java[13172]: [22:28:28] [Server thread/INFO]: RinSenya left the game
Mar 18 22:28:28 nora java[13172]: [22:28:28] [Server thread/INFO]: Saving worlds
Mar 18 22:28:28 nora java[13172]: [22:28:28] [Server thread/INFO]: Saving chunks for level 'world'/minecraft:overworld
Mar 18 22:28:31 nora java[13172]: [22:28:31] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
Mar 18 22:28:31 nora java[13172]: [22:28:31] [Server thread/INFO]: Saving chunks for level 'world_nether'/minecraft:the_nether
Mar 18 22:28:31 nora java[13172]: [22:28:31] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
Mar 18 22:28:31 nora java[13172]: [22:28:31] [Server thread/INFO]: Saving chunks for level 'world_the_end'/minecraft:the_end
Mar 18 22:28:32 nora java[13172]: [22:28:32] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
Mar 18 22:28:32 nora java[13172]: [22:28:32] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
Mar 18 22:28:32 nora java[13172]: [22:28:32] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
Mar 18 22:28:32 nora java[13172]: [22:28:32] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
Mar 18 22:28:33 nora systemd[1]: spigot.service: Succeeded.
Mar 18 22:28:33 nora systemd[1]: Started Spigot Server.
Mar 18 22:28:33 nora java[13252]: Loading libraries, please wait...
Mar 18 22:28:38 nora java[13252]: [22:28:38] [Server thread/INFO]: Starting minecraft server version 1.15.2
Mar 18 22:28:38 nora java[13252]: [22:28:38] [Server thread/INFO]: Loading properties
Mar 18 22:28:39 nora java[13252]: [22:28:39] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-6de3d4b-a6f8093 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
Mar 18 22:28:39 nora java[13252]: [22:28:39] [Server thread/INFO]: Debug logging is disabled
Mar 18 22:28:39 nora java[13252]: [22:28:39] [Server thread/INFO]: Using 4 threads for Netty based IO
Mar 18 22:28:39 nora java[13252]: [22:28:39] [Server thread/INFO]: Server Ping Player Sample Count: 12
Mar 18 22:28:39 nora java[13252]: [22:28:39] [Server thread/INFO]: Default game type: SURVIVAL
Mar 18 22:28:39 nora java[13252]: [22:28:39] [Server thread/INFO]: Generating keypair
Mar 18 22:28:40 nora java[13252]: [22:28:40] [Server thread/INFO]: Starting Minecraft server on *:25565
Mar 18 22:28:40 nora java[13252]: [22:28:40] [Server thread/INFO]: Using epoll channel type
Mar 18 22:28:40 nora java[13252]: [22:28:40] [Server thread/INFO]: Preparing level "world"
Mar 18 22:28:40 nora java[13252]: [22:28:40] [Server thread/INFO]: Reloading ResourceManager: Default, bukkit, anti enderman grief v1.0.0.zip, double shulker shells v1.0.3.zip, dragon drops elytra v1.0.2.zip, more mob heads v2.2.0.zip, multiplayer sleep v1.0.1.zip, player head drops v1.0.0.zip, redstone rotation wrench v1.0.1.zip, silence mobs v1.0.0.zip
Mar 18 22:28:47 nora java[13252]: [22:28:47] [Server thread/INFO]: Loaded 6 recipes
Mar 18 22:28:47 nora java[13252]: [22:28:47] [Server thread/WARN]: Datapack tried to redefine minecraft:empty loot table, ignoring
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Loaded 22 custom command functions
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: -------- World Settings For [world] --------
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Experience Merge Radius: 3.0
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Mob Spawn Range: 6
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Cactus Growth Modifier: 100%
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Cane Growth Modifier: 100%
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Melon Growth Modifier: 100%
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Mushroom Growth Modifier: 100%
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Sapling Growth Modifier: 100%
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Beetroot Growth Modifier: 100%
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Carrot Growth Modifier: 100%
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Potato Growth Modifier: 100%
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Wheat Growth Modifier: 100%
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: NetherWart Growth Modifier: 100%
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Vine Growth Modifier: 100%
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Cocoa Growth Modifier: 100%
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Bamboo Growth Modifier: 100%
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: SweetBerry Growth Modifier: 100%
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Kelp Growth Modifier: 100%
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 Slime: 987234911
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Max TNT Explosions: 100
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: View Distance: 10
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Item Despawn Rate: 6000
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Item Merge Radius: 2.5
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
Mar 18 22:28:48 nora java[13252]: [22:28:48] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: -------- World Settings For [world_nether] --------
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Experience Merge Radius: 3.0
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Mob Spawn Range: 6
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Cactus Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Cane Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Melon Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Mushroom Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Sapling Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Beetroot Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Carrot Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Potato Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Wheat Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: NetherWart Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Vine Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Cocoa Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Bamboo Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: SweetBerry Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Kelp Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 Slime: 987234911
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Max TNT Explosions: 100
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: View Distance: 10
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Item Despawn Rate: 6000
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Item Merge Radius: 2.5
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: -------- World Settings For [world_the_end] --------
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Experience Merge Radius: 3.0
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Mob Spawn Range: 6
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Cactus Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Cane Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Melon Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Mushroom Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Sapling Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Beetroot Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Carrot Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Potato Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Wheat Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: NetherWart Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Vine Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Cocoa Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Bamboo Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: SweetBerry Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Kelp Growth Modifier: 100%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 Slime: 987234911
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Max TNT Explosions: 100
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: View Distance: 10
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Item Despawn Rate: 6000
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Item Merge Radius: 2.5
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Preparing start region for dimension 'world'/minecraft:overworld
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Preparing spawn area: 0%
Mar 18 22:28:49 nora java[13252]: [22:28:49] [Server thread/INFO]: Preparing spawn area: 0%
Mar 18 22:28:50 nora java[13252]: [22:28:50] [Server thread/INFO]: Preparing spawn area: 0%
Mar 18 22:28:50 nora java[13252]: [22:28:50] [Server thread/INFO]: Time elapsed: 1456 ms
Mar 18 22:28:50 nora java[13252]: [22:28:50] [Server thread/INFO]: Preparing start region for dimension 'world_nether'/minecraft:the_nether
Mar 18 22:28:51 nora java[13252]: [22:28:51] [Server thread/INFO]: Preparing spawn area: 0%
Mar 18 22:28:51 nora java[13252]: [22:28:51] [Server thread/INFO]: Preparing spawn area: 0%
Mar 18 22:28:51 nora java[13252]: [22:28:51] [Server thread/INFO]: Time elapsed: 724 ms
Mar 18 22:28:51 nora java[13252]: [22:28:51] [Server thread/INFO]: Preparing start region for dimension 'world_the_end'/minecraft:the_end
Mar 18 22:28:51 nora java[13252]: [22:28:51] [Server thread/INFO]: Preparing spawn area: 0%
Mar 18 22:28:51 nora java[13252]: [22:28:51] [Server thread/INFO]: Time elapsed: 347 ms
Mar 18 22:28:51 nora java[13252]: [22:28:51] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
Mar 18 22:28:51 nora java[13252]: [22:28:51] [Server thread/INFO]: Done (11.240s)! For help, type "help"
Mar 18 22:28:51 nora java[13252]: [22:28:51] [Server thread/INFO]: Saving the game (this may take a moment!)
Mar 18 22:28:52 nora java[13252]: [22:28:52] [Server thread/INFO]: Saved the game
Mar 18 22:28:52 nora java[13252]: [22:28:52] [Server thread/INFO]: Stopping the server
Mar 18 22:28:52 nora java[13252]: [22:28:52] [Server thread/INFO]: Stopping server
Mar 18 22:28:52 nora java[13252]: [22:28:52] [Server thread/INFO]: Saving players
Mar 18 22:28:52 nora java[13252]: [22:28:52] [Server thread/INFO]: Saving worlds
Mar 18 22:28:52 nora java[13252]: [22:28:52] [Server thread/INFO]: Saving chunks for level 'world'/minecraft:overworld
Mar 18 22:28:52 nora java[13252]: [22:28:52] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
Mar 18 22:28:52 nora java[13252]: [22:28:52] [Server thread/INFO]: Saving chunks for level 'world_nether'/minecraft:the_nether
Mar 18 22:28:52 nora java[13252]: [22:28:52] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
Mar 18 22:28:52 nora java[13252]: [22:28:52] [Server thread/INFO]: Saving chunks for level 'world_the_end'/minecraft:the_end
Mar 18 22:28:52 nora java[13252]: [22:28:52] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
Mar 18 22:28:52 nora java[13252]: [22:28:52] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
Mar 18 22:28:52 nora java[13252]: [22:28:52] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
Mar 18 22:28:52 nora java[13252]: [22:28:52] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
Mar 18 22:28:53 nora systemd[1]: spigot.service: Succeeded.
Mar 18 22:28:53 nora systemd[1]: Started Spigot Server.
Mar 18 22:28:53 nora java[13314]: Loading libraries, please wait...
Mar 18 22:28:58 nora java[13314]: [22:28:58] [Server thread/INFO]: Starting minecraft server version 1.15.2
Mar 18 22:28:58 nora java[13314]: [22:28:58] [Server thread/INFO]: Loading properties
Mar 18 22:28:58 nora java[13314]: [22:28:58] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-6de3d4b-a6f8093 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)

This goes on until I stop both the spigot.service and the spigot.socket unit. Do you have an idea what I'm doing/what's going wrong here?

Role fails when attempting to create systemd server properties

I am running Ubuntu 19.04, when running a simple playbook calling the nolte.minecraft role I get an error telling me a password is required. I don't understand this, since I have "become: true" in the playbook:

TASK [nolte.minecraft : generate server.properties] ****************************
fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "sudo: a password is required\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

When running the playbook again using sudo the playbook fails again, this time with another error message:

 TASK [nolte.minecraft : update server.properties] ******************************
fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "<stdin>:17: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\nTraceback (most recent call last):\n  File \"<stdin>\", line 113, in <module>\n  File \"<stdin>\", line 105, in _ansiballz_main\n  File \"<stdin>\", line 48, in invoke_module\n  File \"/usr/lib/python3.7/imp.py\", line 234, in load_module\n    return load_source(name, filename, file)\n  File \"/usr/lib/python3.7/imp.py\", line 169, in load_source\n    module = _exec(spec, sys.modules[name])\n  File \"<frozen importlib._bootstrap>\", line 630, in _exec\n  File \"<frozen importlib._bootstrap_external>\", line 728, in exec_module\n  File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n  File \"/tmp/ansible_minecraft_server_file_payload_8skfdwn5/__main__.py\", line 375, in <module>\n  File \"/tmp/ansible_minecraft_server_file_payload_8skfdwn5/__main__.py\", line 345, in main\n  File \"/tmp/ansible_minecraft_server_file_payload_8skfdwn5/__main__.py\", line 152, in __init__\nAttributeError: 'dict' object has no attribute 'iteritems'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

I'm not sure whether this error message comes from Ansible or from the minecraft role, however, end result is that no files are produced for systemd.

Add handle to reload daemons in systemd

Hi,
If a change is made resulting in an altered unit file, eg. changing allocated memory usage, systemd wants a daemon-reload (see commands below). Is it possible to add a handle to do this automatically?

root@mc-1:~# systemctl restart minecraft.service
Warning: The unit file, source configuration file or drop-ins of minecraft.service changed on disk. Run 'systemctl daemon-reload' to reload units.
root@mc-1:~# systemctl daemon-reload
root@mc-1:~# systemctl restart minecraft.service

Thanks

Filebeat / prometheus support?

First of all, thanks for a solid vanilla module. This is not a bug report.

This was useful to me personally and I'd like to repay with some basic filebeat install/setup for your role.

Is this something you would be interested in?

Thanks,
Ben

p.s. If you are interested.. My terraform/ansible implementation

Socket can't be restarted

Hi again, found another bug.

If the socket is stopped, it won't be able to start again until /run/minecraft/console is deleted.

Example:

root@mc-1:~$ systemctl restart minecraft*
Job for minecraft.socket failed.
See "systemctl status minecraft.socket" and "journalctl -xe" for details.
A dependency job for minecraft.service failed. See 'journalctl -xe' for details.
root@mc-1:~# systemctl status minecraft.socket
● minecraft.socket - Minecraft Server Console
   Loaded: loaded (/etc/systemd/system/minecraft.socket; enabled; vendor preset: enabled)
   Active: failed (Result: resources) since Sun 2019-04-28 22:30:49 CEST; 1min 55s ago
   Listen: /run/minecraft/console (FIFO)

Apr 28 21:28:55 mc-1 systemd[1]: Starting Minecraft Server Console.
Apr 28 21:28:55 mc-1 systemd[1]: Listening on Minecraft Server Console.
Apr 28 22:30:49 mc-1 systemd[1]: Closed Minecraft Server Console.
Apr 28 22:30:49 mc-1 systemd[1]: Stopping Minecraft Server Console.
Apr 28 22:30:49 mc-1 systemd[1]: minecraft.socket: Failed to listen on sockets: File exists
Apr 28 22:30:49 mc-1 systemd[1]: minecraft.socket: Failed with result 'resources'.
Apr 28 22:30:49 mc-1 systemd[1]: Failed to listen on Minecraft Server Console.
root@mc-1:~# rm /run/minecraft/console
root@mc-1:~# systemctl start minecraft.socket
root@mc-1:~# systemctl status minecraft.socket
● minecraft.socket - Minecraft Server Console
   Loaded: loaded (/etc/systemd/system/minecraft.socket; enabled; vendor preset: enabled)
   Active: active (listening) since Sun 2019-04-28 22:33:33 CEST; 4s ago
   Listen: /run/minecraft/console (FIFO)
    Tasks: 0 (limit: 4639)
   CGroup: /system.slice/minecraft.socket

Apr 28 22:33:33 mc-1 systemd[1]: Starting Minecraft Server Console.
Apr 28 22:33:33 mc-1 systemd[1]: Listening on Minecraft Server Console.
root@mc-1:~#

Dependabot couldn't fetch all your path-based dependencies

Dependabot couldn't fetch one or more of your project's path-based Python dependencies. The affected dependencies were setup.py.

To use path-based dependencies with Dependabot the paths must be relative and resolve to a directory in this project's source code.

You can mention @dependabot in the comments below to contact the Dependabot team.

Usage of obsolete ansible.builtin.include

Used Release

Role Version: 6.1.1
Ansible Version: 2.16.4
Python Version: 3.11.8

Expected Behavior

The role should run through.

Actual Behavior

An error is thrown.
ERROR! [DEPRECATED]: ansible.builtin.include has been removed. Use include_tasks or import_tasks instead. This feature was removed from ansible-core in a release after 2023-05-16. Please update your playbooks.

Steps to Reproduce

Due to the nature of the bug, pretty much any role run should fail this way.

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Plugins from spigotmc.org and bukkit.org

First of all, thanks for this great ansible role! Building and installing Spigot works like a charm and is really effortless.

I just have a minor issue regarding plugins. I would like to install plugins from bukkit.org or spigotmc.org but the role fails, since it expects "jar" in the URL. If I remove that condition, it wouldn't work either because the connection fails (I assume they expect some sort of referrer or a browser user-agent).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.