]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
checkcerts.py: actually fix "send email" 767/head
authorDan Mick <dan.mick@redhat.com>
Tue, 18 Feb 2025 23:21:00 +0000 (15:21 -0800)
committerDan Mick <dan.mick@redhat.com>
Tue, 18 Feb 2025 23:21:00 +0000 (15:21 -0800)
commit97c8ee7c2e7eafbe317525f9b87bf51f57c32616
tree31541e120ebca375f2fd9ff20ac72f72d347fb06
parent779a51b571f59b1a1e2be016eca4987741b95a41
checkcerts.py: actually fix "send email"

argparse can't do a nargs="*" optional arg *and* check for its
presence; add a separate arg -E to send the email, and keep -e as
an optional list of addressees.

Also add the full path and host where checkcerts.py is running.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
tools/checkcerts.py