Fixed SSH login bug with Alpine

This commit is contained in:
Sven Velt 2023-12-02 00:25:54 +01:00
parent e368cdf6d0
commit 035cd58229
3 changed files with 5 additions and 0 deletions

View file

@ -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: []

View file

@ -13,6 +13,7 @@
home: "{{ monitored_homedir }}"
move_home: yes
shell: "{{ monitored_shell }}"
password: "{{ monitored_password }}"
state: present
- name: "Install sudo (if required)"

View file

@ -1,4 +1,7 @@
---
monitored_shell: /bin/ash
monitored_password: '*'
monitored_packages_mp:
- monitoring-plugins
monitored_packages_np: