Thomas Haller

Results 99 comments of Thomas Haller

FYI. I added an example script [here](https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/b3181cfbee0ba3f0cd757b9d9b851e61da3cd000/examples/python/gi/gmaincontext.py) in the hope it could be useful.

Also note: issuing a `nmcli connection up` always means that, if the profile is already up, it goes first down and then up again. This is to do a full...

On your system you need to setup the various parts of DNS to work together. For example, to enable and use systemd-resolved, you possibly need: - update nsswitch.conf to use...

> On Centos 8, I set dns=systemd-resolved inside NetworkManager.conf and I got the expected "nameserver 127.0.0.53" in the > resolv.conf. > DNS resolution still works. Yes, you can do that,...

the `connection reapply failed` message is not relevant. It only means the role needs to proceed with a `nmcli connection up` (after `nmcli device reapply` failed). That's normal. what playbook...

when you run the role, it updates the ifcfg file. It does not merge it or try to preserve existing settings (except the `route_append_only` and `rule_append_only` flags, which seem ugly...

I think the important bit here are how to implement async modules. It's more a question about ansible module development... I am not familiar with it, but I'd look how...

``` fatal: [util6vm]: FAILED! => {"changed": false, "msg": "fatal error: configuration error: connections[0].name: state "down" references non-existing connection "dbbond""} ``` when you use the states `up` or `down`, the same...

the implementation of iproute2 for parsing the files is known and understood. It's also understood, that the role's parsing differs. There are code comments explaining how they differ [here](https://github.com/linux-system-roles/network/blob/5d167549f36c8c7b7758d242e39a27be05ca33c8/module_utils/network_lsr/argument_validator.py#L2577). That...

you are completely right. Opened an MR. Thanks. The issue was caused by not realizing that `scanf()` treats whitespace they way you say (which is of course sensible, on part...