I will give it a try, thank you. Sorry about the slow reply--been a busy
day
On Thursday, May 9, 2024 at 1:30:29 AM UTC-6 Dick Visser wrote:
> In any case, the following tasks works fine for me:
>
>
> ---
> - name: test
> become: true
> hosts: bar
> tasks:
> - name: foo
> command: aureport
> re
In any case, the following tasks works fine for me:
---
- name: test
become: true
hosts: bar
tasks:
- name: foo
command: aureport
register: out
- debug: var=out.stdout_lines
TASK [debug]
**
On Thu, 9 May 2024 at 00:12, John Harmon wrote:
>
> I am running this in my task file (tried shell, command, and raw). Any idea
> why and how to work around the issue?:
>
> - name: Check number of AVCs
> ansible.builtin.raw: "aureport | grep -i avc"
> register: avcreport
>
> - debug:
> v
I am running this in my task file (tried shell, command, and raw). Any
idea why and how to work around the issue?:
- name: Check number of AVCs
ansible.builtin.raw: "aureport | grep -i avc"
register: avcreport
- debug:
var: avcreport
It returns a report with all zero values, but if I r