New in version 2.0.
The api version to be used with the vca.
The name of the gateway of the vdc where the rule should be added.
The authentication host to be used when service type is vcd.
The instance id in a vchs environment to be used for creating the vapp.
A list of rules to be added to the gateway, Please see examples on valid entries
The org to login to for creating vapp. This option is required when the
The vca password, if not set the environment variable
aliases: pass, pwd
If set to true, it will delete all rules in the gateway that are not given as paramter to this module.
The type of service we are authenticating against.
If the object should be added or removed.
The vca username or email address, if not set the environment variable
The name of the vdc where the gateway is located.
If the certificates of the authentication is to be verified.
#An example for a source nat - hosts: localhost connection: local tasks: - vca_nat: instance_id: 'b15ff1e5-1024-4f55-889f-ea0209726282' vdc_name: 'benz_ansible' state: 'present' nat_rules: - rule_type: SNAT original_ip: 192.0.2.42 translated_ip: 203.0.113.23 #example for a DNAT - hosts: localhost connection: local tasks: - vca_nat: instance_id: 'b15ff1e5-1024-4f55-889f-ea0209726282' vdc_name: 'benz_ansible' state: 'present' nat_rules: - rule_type: DNAT original_ip: 203.0.113.23 original_port: 22 translated_ip: 192.0.2.42 translated_port: 22
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.