Skip to content
This repository was archived by the owner on May 25, 2026. It is now read-only.
This repository was archived by the owner on May 25, 2026. It is now read-only.

Create role to set network manager policies for VPN aware VMs #14

Description

@sfloess

When one has a VM where they'd like to use nmcli to start/stop a VPN, one must modify the file /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy.

In particular the following actions require modification:

<action id="org.freedesktop.NetworkManager.network-control">
...
    <defaults>
        <allow_any>yes</allow_any>
...

<action id="org.freedesktop.NetworkManager.settings.modify.system">
...
    <defaults>
        <allow_any>yes</allow_any>
...

The Ansible xml module looks like a promising solution to change the aforementioned values.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions