Fixed SSH login bug with Alpine
This commit is contained in:
parent
e368cdf6d0
commit
035cd58229
|
@ -6,6 +6,7 @@ monitored_user: nagios
|
|||
monitored_group: nagios
|
||||
monitored_homedir: /var/lib/nagios
|
||||
monitored_shell: /bin/bash
|
||||
monitored_password: null
|
||||
|
||||
monitored_sudo_file: /etc/sudoers.d/monitored
|
||||
monitored_sudo_commands: []
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
home: "{{ monitored_homedir }}"
|
||||
move_home: yes
|
||||
shell: "{{ monitored_shell }}"
|
||||
password: "{{ monitored_password }}"
|
||||
state: present
|
||||
|
||||
- name: "Install sudo (if required)"
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
---
|
||||
monitored_shell: /bin/ash
|
||||
monitored_password: '*'
|
||||
|
||||
monitored_packages_mp:
|
||||
- monitoring-plugins
|
||||
monitored_packages_np:
|
||||
|
|
Loading…
Reference in a new issue