-
Notifications
You must be signed in to change notification settings - Fork 731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getent_shadow empty #787
Comments
If i run
However if I run
```
knuth | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python3",
"getent_shadow": {
"_apt": [
"*",
"19835",
"0",
"99999",
"7",
"",
"",
""
],
"uuidd": [
"!",
"19835",
"",
"",
"",
"",
"",
""
],
"whoopsie": [
"!",
"19835",
"",
"",
"",
"",
"",
""
],
"www-data": [
"*",
"19835",
"0",
"99999",
"7",
"",
"",
""
]
}
},
"changed": false
}
```
|
ok as none of the tasks in Woudl you welcome a PR to update the example playbook?
|
Sure thing! You need to update it here, though: ansible-collection-hardening/.aar_doc.yml Line 45 in 683706a
|
I hit this issue as well while testing this role in --check mode. |
Signed-off-by: Sebastian Gumprich <[email protected]>
Description
Running os_hardening again Ubuntu 24.04 (on Pi5).
Reproduction steps
... Run a playbook much like this: - name: "Roles which apply to all hosts." hosts: - all roles: - name: Harden Operating System role: devsec.hardening.os_hardening
with a requirements.yml like this:
Current Behavior
Expected Behavior
The task to succeed
OS / Environment
Ubuntu 24.04 arm64
Ansible Version
Collection Version
Additional information
I can't find anywhere in the role that
getent_shadow
is populated, and its showing up in-vvv
as blank:The text was updated successfully, but these errors were encountered: