Result: setup_deb_repo : Ensure deb-src for the universe component
Field Value
changed
True
msg
All items completed
results
[
    {
        "ansible_loop_var": "item",
        "backup": "",
        "changed": true,
        "diff": [
            {
                "after": "",
                "after_header": "/etc/apt/sources.list (content)",
                "before": "",
                "before_header": "/etc/apt/sources.list (content)"
            },
            {
                "after_header": "/etc/apt/sources.list (file attributes)",
                "before_header": "/etc/apt/sources.list (file attributes)"
            }
        ],
        "failed": false,
        "invocation": {
            "module_args": {
                "attributes": null,
                "backrefs": true,
                "backup": false,
                "content": null,
                "create": false,
                "delimiter": null,
                "directory_mode": null,
                "firstmatch": false,
                "follow": false,
                "force": null,
                "group": null,
                "insertafter": null,
                "insertbefore": null,
                "line": "deb-src http://archive.ubuntu.com/ubuntu \\1 universe",
                "mode": null,
                "owner": null,
                "path": "/etc/apt/sources.list",
                "regexp": "^#\\s*deb-src http://archive\\.ubuntu\\.com/ubuntu/ (\\w*) universe$",
                "remote_src": null,
                "selevel": null,
                "serole": null,
                "setype": null,
                "seuser": null,
                "src": null,
                "state": "present",
                "unsafe_writes": null,
                "validate": null
            }
        },
        "item": "",
        "msg": "line replaced"
    },
    {
        "ansible_loop_var": "item",
        "backup": "",
        "changed": true,
        "diff": [
            {
                "after": "",
                "after_header": "/etc/apt/sources.list (content)",
                "before": "",
                "before_header": "/etc/apt/sources.list (content)"
            },
            {
                "after_header": "/etc/apt/sources.list (file attributes)",
                "before_header": "/etc/apt/sources.list (file attributes)"
            }
        ],
        "failed": false,
        "invocation": {
            "module_args": {
                "attributes": null,
                "backrefs": true,
                "backup": false,
                "content": null,
                "create": false,
                "delimiter": null,
                "directory_mode": null,
                "firstmatch": false,
                "follow": false,
                "force": null,
                "group": null,
                "insertafter": null,
                "insertbefore": null,
                "line": "deb-src http://archive.ubuntu.com/ubuntu \\1-updates universe",
                "mode": null,
                "owner": null,
                "path": "/etc/apt/sources.list",
                "regexp": "^#\\s*deb-src http://archive\\.ubuntu\\.com/ubuntu/ (\\w*)-updates universe$",
                "remote_src": null,
                "selevel": null,
                "serole": null,
                "setype": null,
                "seuser": null,
                "src": null,
                "state": "present",
                "unsafe_writes": null,
                "validate": null
            }
        },
        "item": "-updates",
        "msg": "line replaced"
    }
]