Details

Result

Field Value
changed
True
msg
All items completed
results
[
    {
        "ansible_loop_var": "item",
        "backup": "/var/lib/lxc/aio1_glance_container-007ec11b/config.3662.2020-01-31@15:57:25~",
        "changed": true,
        "diff": [
            {
                "after": "",
                "after_header": "/var/lib/lxc/aio1_glance_container-007ec11b/config (content)",
                "before": "",
                "before_header": "/var/lib/lxc/aio1_glance_container-007ec11b/config (content)"
            },
            {
                "after_header": "/var/lib/lxc/aio1_glance_container-007ec11b/config (file attributes)",
                "before_header": "/var/lib/lxc/aio1_glance_container-007ec11b/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_glance_container-007ec11b/config",
                "directory_mode": null,
                "firstmatch": false,
                "follow": false,
                "force": null,
                "group": null,
                "insertafter": null,
                "insertbefore": null,
                "line": "lxc.include = /var/lib/lxc/aio1_glance_container-007ec11b/eth1.ini",
                "mode": null,
                "owner": null,
                "path": "/var/lib/lxc/aio1_glance_container-007ec11b/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.236.116",
                "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_glance_container-007ec11b/config.3698.2020-01-31@15:57:25~",
        "changed": true,
        "diff": [
            {
                "after": "",
                "after_header": "/var/lib/lxc/aio1_glance_container-007ec11b/config (content)",
                "before": "",
                "before_header": "/var/lib/lxc/aio1_glance_container-007ec11b/config (content)"
            },
            {
                "after_header": "/var/lib/lxc/aio1_glance_container-007ec11b/config (file attributes)",
                "before_header": "/var/lib/lxc/aio1_glance_container-007ec11b/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_glance_container-007ec11b/config",
                "directory_mode": null,
                "firstmatch": false,
                "follow": false,
                "force": null,
                "group": null,
                "insertafter": null,
                "insertbefore": null,
                "line": "lxc.include = /var/lib/lxc/aio1_glance_container-007ec11b/eth2.ini",
                "mode": null,
                "owner": null,
                "path": "/var/lib/lxc/aio1_glance_container-007ec11b/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": "storage_address",
            "value": {
                "address": "172.29.246.6",
                "bridge": "br-storage",
                "interface": "eth2",
                "netmask": "255.255.252.0",
                "type": "veth"
            }
        },
        "msg": "line added"
    },
    {
        "ansible_loop_var": "item",
        "backup": "/var/lib/lxc/aio1_glance_container-007ec11b/config.3753.2020-01-31@15:57:25~",
        "changed": true,
        "diff": [
            {
                "after": "",
                "after_header": "/var/lib/lxc/aio1_glance_container-007ec11b/config (content)",
                "before": "",
                "before_header": "/var/lib/lxc/aio1_glance_container-007ec11b/config (content)"
            },
            {
                "after_header": "/var/lib/lxc/aio1_glance_container-007ec11b/config (file attributes)",
                "before_header": "/var/lib/lxc/aio1_glance_container-007ec11b/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_glance_container-007ec11b/config",
                "directory_mode": null,
                "firstmatch": false,
                "follow": false,
                "force": null,
                "group": null,
                "insertafter": null,
                "insertbefore": null,
                "line": "lxc.include = /var/lib/lxc/aio1_glance_container-007ec11b/eth0.ini",
                "mode": null,
                "owner": null,
                "path": "/var/lib/lxc/aio1_glance_container-007ec11b/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"
    }
]