Execution
Date 15 Dec 2025 09:38:00 +0000
Duration 00:17:22.68
Controller aio1.openstack.local
User root
Versions
Ansible 2.18.6
ara 1.7.4 / 1.7.4
Python 3.12.3
Summary
18 Hosts
603 Tasks
2798 Results
18 Plays
138 Files
0 Records

Task result details

  • Status
    OK
  • Duration
    00:00:00.34
  • 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.007989
end
2025-12-15 09:54:36.261044
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-15 09:54:36.253055
stderr

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