Details

Result

Field Value
changed
True
msg
All items completed
results
[
    {
        "ansible_loop_var": "item",
        "backup": "",
        "changed": false,
        "diff": [
            {
                "after": "",
                "after_header": "/etc/pam.d/common-auth (content)",
                "before": "",
                "before_header": "/etc/pam.d/common-auth (content)"
            },
            {
                "after_header": "/etc/pam.d/common-auth (file attributes)",
                "before_header": "/etc/pam.d/common-auth (file attributes)"
            }
        ],
        "failed": false,
        "invocation": {
            "module_args": {
                "attributes": null,
                "backrefs": true,
                "backup": true,
                "content": null,
                "create": false,
                "delimiter": null,
                "dest": "/etc/pam.d/common-auth",
                "directory_mode": null,
                "firstmatch": false,
                "follow": false,
                "force": null,
                "group": null,
                "insertafter": null,
                "insertbefore": null,
                "line": "\\1\\2",
                "mode": null,
                "owner": null,
                "path": "/etc/pam.d/common-auth",
                "regexp": "^(.*required.*)nullok(.*)$",
                "remote_src": null,
                "selevel": null,
                "serole": null,
                "setype": null,
                "seuser": null,
                "src": null,
                "state": "present",
                "unsafe_writes": null,
                "validate": null
            }
        },
        "item": "/etc/pam.d/common-auth",
        "msg": ""
    },
    {
        "ansible_loop_var": "item",
        "backup": "/etc/pam.d/common-password.8451.2020-01-31@15:54:56~",
        "changed": true,
        "diff": [
            {
                "after": "",
                "after_header": "/etc/pam.d/common-password (content)",
                "before": "",
                "before_header": "/etc/pam.d/common-password (content)"
            },
            {
                "after_header": "/etc/pam.d/common-password (file attributes)",
                "before_header": "/etc/pam.d/common-password (file attributes)"
            }
        ],
        "failed": false,
        "invocation": {
            "module_args": {
                "attributes": null,
                "backrefs": true,
                "backup": true,
                "content": null,
                "create": false,
                "delimiter": null,
                "dest": "/etc/pam.d/common-password",
                "directory_mode": null,
                "firstmatch": false,
                "follow": false,
                "force": null,
                "group": null,
                "insertafter": null,
                "insertbefore": null,
                "line": "\\1\\2",
                "mode": null,
                "owner": null,
                "path": "/etc/pam.d/common-password",
                "regexp": "^(.*required.*)nullok(.*)$",
                "remote_src": null,
                "selevel": null,
                "serole": null,
                "setype": null,
                "seuser": null,
                "src": null,
                "state": "present",
                "unsafe_writes": null,
                "validate": null
            }
        },
        "item": "/etc/pam.d/common-password",
        "msg": "line replaced"
    }
]