Details

Result

Field Value
changed
True
msg
All items completed
results
[
    {
        "ansible_loop_var": "item",
        "backup": "",
        "changed": true,
        "diff": [
            {
                "after": "",
                "after_header": "/etc/openstack_deploy/group_vars/hosts.yml (content)",
                "before": "",
                "before_header": "/etc/openstack_deploy/group_vars/hosts.yml (content)"
            },
            {
                "after_header": "/etc/openstack_deploy/group_vars/hosts.yml (file attributes)",
                "before_header": "/etc/openstack_deploy/group_vars/hosts.yml (file attributes)"
            }
        ],
        "failed": false,
        "invocation": {
            "module_args": {
                "attributes": null,
                "backrefs": false,
                "backup": false,
                "content": null,
                "create": true,
                "delimiter": null,
                "directory_mode": null,
                "firstmatch": false,
                "follow": false,
                "force": null,
                "group": null,
                "insertafter": null,
                "insertbefore": null,
                "line": "babar: \"elephant\"",
                "mode": null,
                "owner": null,
                "path": "/etc/openstack_deploy/group_vars/hosts.yml",
                "regexp": null,
                "remote_src": null,
                "selevel": null,
                "serole": null,
                "setype": null,
                "seuser": null,
                "src": null,
                "state": "present",
                "unsafe_writes": null,
                "validate": null
            }
        },
        "item": {
            "line": "babar: \"elephant\"",
            "path": "/etc/openstack_deploy/group_vars/hosts.yml"
        },
        "msg": "line added"
    },
    {
        "ansible_loop_var": "item",
        "backup": "",
        "changed": true,
        "diff": [
            {
                "after": "",
                "after_header": "/etc/openstack_deploy/group_vars/hosts.yml (content)",
                "before": "",
                "before_header": "/etc/openstack_deploy/group_vars/hosts.yml (content)"
            },
            {
                "after_header": "/etc/openstack_deploy/group_vars/hosts.yml (file attributes)",
                "before_header": "/etc/openstack_deploy/group_vars/hosts.yml (file attributes)"
            }
        ],
        "failed": false,
        "invocation": {
            "module_args": {
                "attributes": null,
                "backrefs": false,
                "backup": false,
                "content": null,
                "create": true,
                "delimiter": null,
                "directory_mode": null,
                "firstmatch": false,
                "follow": false,
                "force": null,
                "group": null,
                "insertafter": null,
                "insertbefore": null,
                "line": "lxc_hosts_package_state: \"present\"",
                "mode": null,
                "owner": null,
                "path": "/etc/openstack_deploy/group_vars/hosts.yml",
                "regexp": null,
                "remote_src": null,
                "selevel": null,
                "serole": null,
                "setype": null,
                "seuser": null,
                "src": null,
                "state": "present",
                "unsafe_writes": null,
                "validate": null
            }
        },
        "item": {
            "line": "lxc_hosts_package_state: \"present\"",
            "path": "/etc/openstack_deploy/group_vars/hosts.yml"
        },
        "msg": "line added"
    },
    {
        "ansible_loop_var": "item",
        "backup": "",
        "changed": true,
        "diff": [
            {
                "after": "",
                "after_header": "/etc/openstack_deploy/host_vars/localhost.yml (content)",
                "before": "",
                "before_header": "/etc/openstack_deploy/host_vars/localhost.yml (content)"
            },
            {
                "after_header": "/etc/openstack_deploy/host_vars/localhost.yml (file attributes)",
                "before_header": "/etc/openstack_deploy/host_vars/localhost.yml (file attributes)"
            }
        ],
        "failed": false,
        "invocation": {
            "module_args": {
                "attributes": null,
                "backrefs": false,
                "backup": false,
                "content": null,
                "create": true,
                "delimiter": null,
                "directory_mode": null,
                "firstmatch": false,
                "follow": false,
                "force": null,
                "group": null,
                "insertafter": null,
                "insertbefore": null,
                "line": "security_package_state: \"present\"",
                "mode": null,
                "owner": null,
                "path": "/etc/openstack_deploy/host_vars/localhost.yml",
                "regexp": null,
                "remote_src": null,
                "selevel": null,
                "serole": null,
                "setype": null,
                "seuser": null,
                "src": null,
                "state": "present",
                "unsafe_writes": null,
                "validate": null
            }
        },
        "item": {
            "line": "security_package_state: \"present\"",
            "path": "/etc/openstack_deploy/host_vars/localhost.yml"
        },
        "msg": "line added"
    },
    {
        "ansible_loop_var": "item",
        "backup": "",
        "changed": true,
        "diff": [
            {
                "after": "",
                "after_header": "/etc/openstack_deploy/host_vars/localhost.yml (content)",
                "before": "",
                "before_header": "/etc/openstack_deploy/host_vars/localhost.yml (content)"
            },
            {
                "after_header": "/etc/openstack_deploy/host_vars/localhost.yml (file attributes)",
                "before_header": "/etc/openstack_deploy/host_vars/localhost.yml (file attributes)"
            }
        ],
        "failed": false,
        "invocation": {
            "module_args": {
                "attributes": null,
                "backrefs": false,
                "backup": false,
                "content": null,
                "create": true,
                "delimiter": null,
                "directory_mode": null,
                "firstmatch": false,
                "follow": false,
                "force": null,
                "group": null,
                "insertafter": null,
                "insertbefore": null,
                "line": "tintin: \"milou\"",
                "mode": null,
                "owner": null,
                "path": "/etc/openstack_deploy/host_vars/localhost.yml",
                "regexp": null,
                "remote_src": null,
                "selevel": null,
                "serole": null,
                "setype": null,
                "seuser": null,
                "src": null,
                "state": "present",
                "unsafe_writes": null,
                "validate": null
            }
        },
        "item": {
            "line": "tintin: \"milou\"",
            "path": "/etc/openstack_deploy/host_vars/localhost.yml"
        },
        "msg": "line added"
    }
]