Remove banner reference

This commit is contained in:
Theo Le Peltier
2022-06-29 10:55:26 +02:00
parent dbf4d327cf
commit cf7e3da48e
7 changed files with 2 additions and 35 deletions

View File

@ -3,7 +3,6 @@
hosts: all
roles:
- role: claranet.motd
motd_banner_template: null
pre_tasks:
- name: "Update APT cache"

View File

@ -12,11 +12,6 @@ motd_file_path = "/usr/local/bin/dynmotd"
pam_line = f"session optional pam_exec.so type=open_session stdout {motd_file_path}"
def test_banner_file(host):
file = host.file("/etc/banner")
assert not file.exists
def test_motd_file(host):
file = host.file(motd_file_path)
assert file.exists