chore: always remove motd from pam
This commit is contained in:
parent
cbb766bdb4
commit
75767ce7e0
@ -1,6 +1,4 @@
|
||||
---
|
||||
pve_pamd_motd_enabled: True
|
||||
|
||||
# @var pve_disk_mount:example: >
|
||||
# pve_disk_mount:
|
||||
# - path: /mnt/backup
|
||||
|
@ -19,7 +19,7 @@
|
||||
loop_control:
|
||||
label: "{{ item.src }} {{ item.path }}"
|
||||
|
||||
- name: Remove motd from oam stack
|
||||
- name: Remove motd from pam
|
||||
community.general.pamd:
|
||||
name: "{{ item.name }}"
|
||||
type: "{{ item.type }}"
|
||||
@ -35,7 +35,6 @@
|
||||
type: "session"
|
||||
control: "optional"
|
||||
path: "pam_motd.so"
|
||||
when: not pve_pamd_motd_enabled | bool
|
||||
|
||||
- name: Create tmp folder for pve
|
||||
ansible.builtin.file:
|
||||
|
Loading…
Reference in New Issue
Block a user