I'm trying to control openvpn on an arch linux server.  

I am able to successfully start the service on the box with

> systemctl start openvpn@server


but when I try to do some from ansible I get:

> failed: [laprouter] => {"failed": true, "item": ""}
> msg: Failed to issue method call: Unit name [email protected] is not valid.
>
> FATAL: all hosts have already failed -- aborting


Here is the part of the yml config:

> - name: Ensure openvpn service enabled
>   service: 
>     name="openvpn@server"
>     state=started



Is this an error in my configuration?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to