Details

Result

Field Value
changed
True
msg
All items completed
results
[
    {
        "ansible_loop_var": "item",
        "backup": "/var/lib/lxc/aio1_repo_container-6d617a21/config.3382.2020-01-31@15:57:23~",
        "changed": true,
        "diff": [
            {
                "after": "",
                "after_header": "/var/lib/lxc/aio1_repo_container-6d617a21/config (content)",
                "before": "",
                "before_header": "/var/lib/lxc/aio1_repo_container-6d617a21/config (content)"
            },
            {
                "after_header": "/var/lib/lxc/aio1_repo_container-6d617a21/config (file attributes)",
                "before_header": "/var/lib/lxc/aio1_repo_container-6d617a21/config (file attributes)"
            }
        ],
        "failed": false,
        "invocation": {
            "module_args": {
                "attributes": null,
                "backrefs": false,
                "backup": true,
                "content": null,
                "create": false,
                "delimiter": null,
                "dest": "/var/lib/lxc/aio1_repo_container-6d617a21/config",
                "directory_mode": null,
                "firstmatch": false,
                "follow": false,
                "force": null,
                "group": null,
                "insertafter": null,
                "insertbefore": null,
                "line": "lxc.include = /var/lib/lxc/aio1_repo_container-6d617a21/eth1.ini",
                "mode": null,
                "owner": null,
                "path": "/var/lib/lxc/aio1_repo_container-6d617a21/config",
                "regexp": null,
                "remote_src": null,
                "selevel": null,
                "serole": null,
                "setype": null,
                "seuser": null,
                "src": null,
                "state": "present",
                "unsafe_writes": null,
                "validate": null
            }
        },
        "item": {
            "key": "container_address",
            "value": {
                "address": "172.29.239.79",
                "bridge": "br-mgmt",
                "interface": "eth1",
                "netmask": "255.255.252.0",
                "static_routes": [
                    {
                        "cidr": "172.29.248.0/22",
                        "gateway": "172.29.236.100"
                    },
                    {
                        "cidr": "172.29.240.0/22",
                        "gateway": "172.29.236.100"
                    }
                ],
                "type": "veth"
            }
        },
        "msg": "line added"
    },
    {
        "ansible_loop_var": "item",
        "backup": "/var/lib/lxc/aio1_repo_container-6d617a21/config.3422.2020-01-31@15:57:23~",
        "changed": true,
        "diff": [
            {
                "after": "",
                "after_header": "/var/lib/lxc/aio1_repo_container-6d617a21/config (content)",
                "before": "",
                "before_header": "/var/lib/lxc/aio1_repo_container-6d617a21/config (content)"
            },
            {
                "after_header": "/var/lib/lxc/aio1_repo_container-6d617a21/config (file attributes)",
                "before_header": "/var/lib/lxc/aio1_repo_container-6d617a21/config (file attributes)"
            }
        ],
        "failed": false,
        "invocation": {
            "module_args": {
                "attributes": null,
                "backrefs": false,
                "backup": true,
                "content": null,
                "create": false,
                "delimiter": null,
                "dest": "/var/lib/lxc/aio1_repo_container-6d617a21/config",
                "directory_mode": null,
                "firstmatch": false,
                "follow": false,
                "force": null,
                "group": null,
                "insertafter": null,
                "insertbefore": null,
                "line": "lxc.include = /var/lib/lxc/aio1_repo_container-6d617a21/eth0.ini",
                "mode": null,
                "owner": null,
                "path": "/var/lib/lxc/aio1_repo_container-6d617a21/config",
                "regexp": null,
                "remote_src": null,
                "selevel": null,
                "serole": null,
                "setype": null,
                "seuser": null,
                "src": null,
                "state": "present",
                "unsafe_writes": null,
                "validate": null
            }
        },
        "item": {
            "key": "lxcbr0_address",
            "value": {
                "bridge": "lxcbr0",
                "interface": "eth0",
                "type": "veth"
            }
        },
        "msg": "line added"
    }
]