Execution
Date 08 Dec 2025 13:27:39 +0000
Duration 00:05:33.94
Controller aio1.openstack.local
User root
Versions
Ansible 2.18.6
ara 1.7.4 / 1.7.4
Python 3.12.3
Summary
2 Hosts
316 Tasks
313 Results
18 Plays
136 Files
0 Records

Task result details

  • Status
    OK
  • Duration
    00:00:00.35
  • 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.007781
end
2025-12-08 13:32:24.904754
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-08 13:32:24.896973
stderr

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