Add PAM authentication to Mineos

This commit is contained in:
Patrick Toal
2019-07-03 09:00:56 -04:00
parent 1c86d6fbeb
commit 0c34ad9d2d

View File

@@ -9,7 +9,7 @@
become: true become: true
yum: yum:
name: ['bind-utils', 'screen', name: ['bind-utils', 'screen',
'git', 'wget', 'java-1.8.0-openjdk-headless.x86_64', 'openssl', 'openssl-devel', 'rsync', 'rdiff-backup'] 'git', 'wget', 'java-1.8.0-openjdk-headless.x86_64', 'openssl', 'openssl-devel', 'rsync', 'rdiff-backup', 'pam-devel']
state: present state: present
enablerepo: epel enablerepo: epel
@@ -96,7 +96,20 @@
- name: Get Node Modules - name: Get Node Modules
become: true become: true
become_user: minecraft become_user: minecraft
npm: path=/usr/games/minecraft state=present production=true npm:
path: /usr/games/minecraft
state: present
production: true
notify: Restart mineos
- name: Install PAM Module for MineOS Authentication
become: true
become_user: minecraft
npm:
name: authenticate-pam
path: /usr/games/minecraft
state: present
production: true
notify: Restart mineos notify: Restart mineos
- name: Link to executable - name: Link to executable