chore: always remove motd from pam
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful

This commit is contained in:
Robert Kaussow 2024-09-29 22:33:22 +02:00
parent cbb766bdb4
commit 75767ce7e0
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 1 additions and 4 deletions

View File

@ -1,6 +1,4 @@
--- ---
pve_pamd_motd_enabled: True
# @var pve_disk_mount:example: > # @var pve_disk_mount:example: >
# pve_disk_mount: # pve_disk_mount:
# - path: /mnt/backup # - path: /mnt/backup

View File

@ -19,7 +19,7 @@
loop_control: loop_control:
label: "{{ item.src }} {{ item.path }}" label: "{{ item.src }} {{ item.path }}"
- name: Remove motd from oam stack - name: Remove motd from pam
community.general.pamd: community.general.pamd:
name: "{{ item.name }}" name: "{{ item.name }}"
type: "{{ item.type }}" type: "{{ item.type }}"
@ -35,7 +35,6 @@
type: "session" type: "session"
control: "optional" control: "optional"
path: "pam_motd.so" path: "pam_motd.so"
when: not pve_pamd_motd_enabled | bool
- name: Create tmp folder for pve - name: Create tmp folder for pve
ansible.builtin.file: ansible.builtin.file: