minecraft/tasks/main.yaml
changeset 152 740231770c7c
parent 125 5a298f7b44f5
child 153 dbc589234a49
equal deleted inserted replaced
151:9a0b90751216 152:740231770c7c
     2 
     2 
     3 - name: add minecraft user
     3 - name: add minecraft user
     4   become: yes
     4   become: yes
     5   user: name="{{minecraft_user}}" home="{{minecraft_dir}}"
     5   user: name="{{minecraft_user}}" home="{{minecraft_dir}}"
     6 
     6 
     7 - name: install jre
     7 - name: install adoptopenjdk
     8   become: yes
     8   include_tasks: adoptopenjdk.yaml
     9   apt: name="default-jre-headless"
       
    10 
     9 
    11 - name: set minecraft fork
    10 - name: set minecraft fork
    12   set_fact: minecraft_url="{{minecraft_vanilla_url}}"
    11   set_fact: minecraft_url="{{minecraft_vanilla_url}}"
    13   when: minecraft_fork == "vanilla"
    12   when: minecraft_fork == "vanilla"
    14 
    13