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.33
  • Play
    Apply security hardening configurations
  • Task
    ansible-hardening : Check for pam_lastlog in PAM configuration
  • Host
    aio1

Field Value
changed
False
cmd
[
    "grep",
    "pam_lastlog",
    "/etc/pam.d/login"
]
delta
0:00:00.005561
end
2025-12-08 13:32:27.867359
failed_when_result
False
invocation
{
    "module_args": {
        "_raw_params": "grep pam_lastlog /etc/pam.d/login",
        "_uses_shell": false,
        "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:27.861798
stderr

stderr_lines
[]
stdout
session    optional   pam_lastlog.so
stdout_lines
[
    "session    optional   pam_lastlog.so"
]