Skip to content
Snippets Groups Projects
Commit 56201092 authored by nimrod's avatar nimrod
Browse files

Router playbook: Send email with rogue services.

New in OpenBSD 7.1, list services that are running but shouldn't (are
disabled). Send the list as part of the daily email.
parent 911f2486
Branches
No related tags found
No related merge requests found
Pipeline #2807 passed
......@@ -492,11 +492,14 @@
# yamllint disable-line rule:line-length
- name: Configure the daily Cron job (skip email if there's nothing to report, report on pending system patches).
ansible.builtin.copy:
# yamllint disable rule:line-length
content: |
VERBOSESTATUS=0
syspatch -c
pkg_add -uInx | grep -v '^quirks'
fw_update -an | grep -v '^quirks'
{{ "rcctl ls rogue" if ansible_distribution_version is version('7.1', '>=') }}
# yamllint enable rule:line-length
dest: /etc/daily.local
group: wheel
mode: 0o0444
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment