Add custom repo for mineos, to enable PAM

This commit is contained in:
Patrick Toal
2019-07-24 23:24:11 -04:00
parent 0c34ad9d2d
commit 6f65e44006
3 changed files with 10 additions and 1 deletions

View File

@@ -7,3 +7,5 @@ mineos_keep_updated: false
mineos_http_port: 80
mineos_https_port: 443
mineos_use_https: true
mineos_version: HEAD
mineos_repo: https://github.com/hexparrot/mineos-node.git

View File

@@ -51,7 +51,12 @@
- name: Clone mineos git repo
become: true
become_user: minecraft
git: repo=https://github.com/hexparrot/mineos-node.git dest=/usr/games/minecraft update={{ mineos_keep_updated }}
git:
repo: "{{ mineos_repo }}"
version: "{{ mineos_version }}"
dest: "/usr/games/minecraft"
update: "{{ mineos_keep_updated }}"
notify: Restart mineos
- name: Set git core.filemode setting

View File

@@ -33,6 +33,8 @@
become: true
vars:
nodejs_version: "8.x"
mineos_repo: "git@github.com:sage905/mineos-node.git"
mineos_version: "pam_auth"
roles:
- ansible-role-nodejs
- sage905.mineos