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 : Search for AllowUnauthenticated in /etc/apt/apt.conf.d/
  • Host
    aio1

Field Value
changed
False
cmd
[
    "grep",
    "-r",
    "^[^#].*AllowUnauthenticated \\\"true\\\"",
    "/etc/apt/apt.conf.d/"
]
delta
0:00:00.006438
end
2025-12-08 13:31:58.565765
failed_when_result
False
invocation
{
    "module_args": {
        "_raw_params": "grep -r '^[^#].*AllowUnauthenticated \\\"true\\\"' /etc/apt/apt.conf.d/",
        "_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:31:58.559327
stderr

stderr_lines
[]
stdout
/etc/apt/apt.conf.d/99unauthenticated:APT::Get::AllowUnauthenticated "true";
/etc/apt/apt.conf.d/95allow-unauthenticated:APT::Get::AllowUnauthenticated "true";
stdout_lines
[
    "/etc/apt/apt.conf.d/99unauthenticated:APT::Get::AllowUnauthenticated \"true\";",
    "/etc/apt/apt.conf.d/95allow-unauthenticated:APT::Get::AllowUnauthenticated \"true\";"
]