Execution
Date 14 Dec 2025 10:04:43 +0000
Duration 00:10:10.66
Controller aio1.openstack.local
User root
Versions
Ansible 2.18.6
ara 1.7.4 / 1.7.4
Python 3.13.5
Summary
15 Hosts
603 Tasks
2357 Results
18 Plays
157 Files
0 Records

Task result details

  • Status
    OK
  • Duration
    00:00:00.15
  • Play
    Apply security hardening configurations
  • Task
    ansible-hardening : Check for 'nopasswd' in sudoers files
  • Host
    aio1

Field Value
changed
False
cmd
grep -ir nopasswd /etc/sudoers /etc/sudoers.d/ | grep -Ev "^([[:space:]]*)?(#|$)" || echo "not found"
delta
0:00:00.004001
end
2025-12-14 10:14:23.988963
invocation
{
    "module_args": {
        "_raw_params": "grep -ir nopasswd /etc/sudoers /etc/sudoers.d/ | grep -Ev \"^([[:space:]]*)?(#|$)\" || echo \"not found\"",
        "_uses_shell": true,
        "argv": null,
        "chdir": null,
        "creates": null,
        "executable": null,
        "expand_argument_vars": true,
        "removes": null,
        "stdin": null,
        "stdin_add_newline": true,
        "strip_empty_ends": true
    }
}
msg

rc
0
start
2025-12-14 10:14:23.984962
stderr

stderr_lines
[]
stdout
/etc/sudoers.d/zuul:zuul ALL=(ALL) NOPASSWD:ALL
stdout_lines
[
    "/etc/sudoers.d/zuul:zuul ALL=(ALL) NOPASSWD:ALL"
]