minecraft/server/tasks/main.yaml
changeset 162 a7a64ed07204
parent 156 ebd8a21a0e62
child 163 40b78af86337
equal deleted inserted replaced
161:edc41ae39fb8 162:a7a64ed07204
    50     dest: "{{minecraft_dir}}/ops.json"
    50     dest: "{{minecraft_dir}}/ops.json"
    51     owner: "{{minecraft_user}}"
    51     owner: "{{minecraft_user}}"
    52     group: "{{minecraft_user}}"
    52     group: "{{minecraft_user}}"
    53   notify: restart minecraft
    53   notify: restart minecraft
    54 
    54 
       
    55 - name: create minecraft plugins dir
       
    56   become: yes
       
    57   file:
       
    58     path: "{{minecraft_dir}}/plugins"
       
    59     owner: "{{minecraft_user}}"
       
    60     group: "{{minecraft_user}}"
       
    61     mode: "0755"
       
    62     state: "directory"
       
    63 
    55 - name: install plugins
    64 - name: install plugins
    56   include_tasks: dynmap.yaml
    65   include_tasks: "{{item}}.yaml"
       
    66   loop: "{{minecreat_paper_plugins_enabled}}"
    57   when: minecraft_fork == "paper"
    67   when: minecraft_fork == "paper"
    58 
    68 
    59 - name: create server.properties
    69 - name: create server.properties
    60   become: yes
    70   become: yes
    61   file:
    71   file: