Giter VIP home page Giter VIP logo

Comments (5)

arBmind avatar arBmind commented on July 20, 2024

Strange... I wonder what the structure of the network_configuration_result looks for you? Somehow the result structure seems to have changed, or the default-chain is somehow broken.

from ansible-network-interfaces.

dominikkukacka avatar dominikkukacka commented on July 20, 2024

I just cloned the develop branch to print out the network_configuration_result and there it works!

{
    "msg": {
        "changed": true,
        "msg": "All items completed",
        "results": [
            {
                "_ansible_item_result": true,
                "_ansible_no_log": false,
                "_ansible_notify": [
                    "network restart interface service",
                    "network restart interface command"
                ],
                "changed": true,
                "invocation": {
                    "module_args": {
                        "dest": "/etc/network/interfaces.d/device-eth0",
                        "mode": 420,
                        "src": "device.j2"
                    },
                    "module_name": "template"
                },
                "item": [
                    "eth0",
                    [
                        {
                            "address": "10.91.0.2",
                            "allow": [
                                "hotplug"
                            ],
                            "auto": true,
                            "description": "private interface",
                            "device": "eth0",
                            "family": "inet",
                            "method": "static",
                            "netmask": "255.255.255.192",
                            "post-up": [
                                "route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.91.0.1",
                                "route add -net 161.26.0.0 netmask 255.255.0.0 gw 10.91.0.1"
                            ]
                        }
                    ]
                ]
            }
        ]
    }
}

from ansible-network-interfaces.

arBmind avatar arBmind commented on July 20, 2024

You mean we should create a new release?

from ansible-network-interfaces.

dominikkukacka avatar dominikkukacka commented on July 20, 2024

from ansible-network-interfaces.

arBmind avatar arBmind commented on July 20, 2024

Ok, let's see if we can get a fix for #63 into this release.

from ansible-network-interfaces.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.