new version
Some checks failed
Some checks failed
This commit is contained in:
20
roles/03-installation-minecraft/tasks/04-install-mcrcon.yml
Normal file
20
roles/03-installation-minecraft/tasks/04-install-mcrcon.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
- name: Installation des dépendances pour mcrcon
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
- build-essential
|
||||
- git
|
||||
state: present
|
||||
|
||||
- name: Clone du repository mcrcon
|
||||
ansible.builtin.git:
|
||||
repo: https://github.com/Tiiffi/mcrcon.git
|
||||
dest: "{{ minecraft_tools_dir }}/mcrcon"
|
||||
version: master
|
||||
become_user: "{{ minecraft_user }}"
|
||||
|
||||
- name: Compilation de mcrcon
|
||||
ansible.builtin.command:
|
||||
cmd: make
|
||||
chdir: "{{ minecraft_tools_dir }}/mcrcon"
|
||||
become_user: "{{ minecraft_user }}"
|
Reference in New Issue
Block a user