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: >
|
# @var pve_disk_mount:example: >
|
||||||
# pve_disk_mount:
|
# pve_disk_mount:
|
||||||
# - path: /mnt/backup
|
# - path: /mnt/backup
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user