diff --git a/Ansible/roles/router/tasks/main.yaml b/Ansible/roles/router/tasks/main.yaml index 255ba18f7305797ece7fcbffbd5f143308f84f4c..a7feaf5a7b141db771e6520d2773d14d89e223e3 100644 --- a/Ansible/roles/router/tasks/main.yaml +++ b/Ansible/roles/router/tasks/main.yaml @@ -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