Hi Ben

There is, it will be included in upcomming ansible 2.5 (target march
2018). However, you can use this as today with the following steps
(untested):

1. create a "library" directory the tree level of your playbooks (or
alternatively configure the library path in a .ansible.cfg)

2. copy the upsteam module into that library folder:
wget
https://raw.githubusercontent.com/ansible/ansible/devel/lib/ansible/modules/cloud/cloudstack/cs_vpn_customer_gateway.py


3. small code change needed to be compatible on line 256:
https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/cloud/cloudstack/cs_vpn_customer_gateway.py#L256

from

if self.has_changed(args, vpn_customer_gateway,
skip_diff_for_keys=['ipsecpsk']):

to

if self.has_changed(args, vpn_customer_gateway):

Regards
René


On 01/03/2018 09:10 AM, Benjamin Naber wrote:
> Hi together,
> 
> ist there any Ansible module which i can use to create a vpn customer gateway 
> ?
> 
> Kind regards
> 
> Benjamin
> 

Reply via email to