Valheim install dir is empty
Opened this issue · 4 comments
Trying to copy instructions from here: https://www.youtube.com/watch?v=olNE035BnzI on a linode CentOS 8 container
however, when install finishes, nothing is installed in /opt/server/
[root@hostname ~]# ansible-playbook opt/game-ansible/valheim/install.yml --extra-vars '{"app_dir":"/opt/server"}'
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
PLAY [localhost] ************************************************************************************************************************************************************************************************************************
TASK [Gathering Facts] ******************************************************************************************************************************************************************************************************************
ok: [localhost]
TASK [Making directory] *****************************************************************************************************************************************************************************************************************
[WARNING]: Consider using the file module with state=directory rather than running 'mkdir'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in
ansible.cfg to get rid of this message.
changed: [localhost]
TASK [Download SteamCMD] ****************************************************************************************************************************************************************************************************************
changed: [localhost]
TASK [Unarchive SteamCMD] ***************************************************************************************************************************************************************************************************************
changed: [localhost]
TASK [Remove steamcmd tar extraction no longer needed] **********************************************************************************************************************************************************************************
changed: [localhost]
TASK [Installing Valheim Server] ********************************************************************************************************************************************************************************************************
changed: [localhost]
PLAY RECAP ******************************************************************************************************************************************************************************************************************************
localhost : ok=6 changed=5 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
[root@hostname ~]# cd opt
[root@hostname opt]# ll
total 8
drwxr-xr-x. 8 root root 4096 Feb 11 20:29 game-ansible
drwxr-xr-x. 2 root root 4096 Feb 11 20:25 server
[root@hostname opt]# cd server
[root@hostname server]# ll
total 0
[root@hostname server]#
Script
sudo yum install epel-release -y
sudo yum install git ansible python38.x86_64 glibc.i686 libstdc++.i686 wget tar -y
mkdir opt/server
git clone https://github.com/thegreatstorm/game-ansible.git
ansible-playbook opt/game-ansible/valheim/install.yml --extra-vars '{"app_dir":"/opt/server"}'
What am I missing?
Your mkdir needs to be /opt/server
Interesting looks like you are in /opt and you have a server, but doesn't show. Code pretty straight forward so I'm not sure.
Wow it didn't even make the logs and steamcmd folder.
If no response in 3 days I'll be closing this ticket.