Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create a new selection with uci #44

Open
mpadwick opened this issue May 13, 2022 · 1 comment
Open

Unable to create a new selection with uci #44

mpadwick opened this issue May 13, 2022 · 1 comment

Comments

@mpadwick
Copy link

mpadwick commented May 13, 2022

Hi
I've been pounding my head ageist the wall for some hours now.
what I'm trying to acomplish is this;

uci set openvpn.vpn.enabled=1
uci set openvpn.vpn.config=/etc/openvpn/vpn.tcp.ovpn

in my play book I have this:

      uci:
        command: set
        key: openvpn
        value:
          vpn: "openvpn"

what I'm i missing???

@Hurricos
Copy link

Hurricos commented Aug 7, 2022

What are you getting instead?

I'm going to guess it's failing because you're using the key/value form but are interpreting value: "openvpn" as the way to set vpn to be an openvpn.openvpn; it can't do that.

Try one of the examples which use command: section instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants