goldyfruit.ibmcloud_automation.ic_is_vpn_ike (1.0.4) — module

Manage VPC VPN IKE policies on IBM Cloud.

| "added in version" 2.9 of goldyfruit.ibmcloud_automation"

Authors: Gaëtan Trellu (@goldyfruit)

preview | supported by community

Install collection

Install with ansible-galaxy collection install goldyfruit.ibmcloud_automation:==1.0.4


Add to requirements.yml

  collections:
    - name: goldyfruit.ibmcloud_automation
      version: 1.0.4

Description

This module creates a new IKE policy.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create VPN IKE policy
  ic_is_vpn_ike:
    policy: ibmcloud-vpn-ike-baby
    authentication_algorithm: sha256
    dh_group: 2
    encryption_algorithm: aes256
    ike_version: 2
    key_lifetime: 28800
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete VPN IKE policy
  ic_is_vpn_ike:
    policy: ibmcloud-vpn-ike-baby
    state: absent

Inputs

    
state:
    choices:
    - present
    - absent
    default: present
    description:
    - Should the resource be present or absent.
    type: str

policy:
    description:
    - The user-defined name for this IKE policy.
    required: true
    type: str

dh_group:
    choices:
    - 2
    - 5
    - 14
    description:
    - The Diffie-Hellman group.
    type: int

ike_version:
    choices:
    - 1
    - 2
    description:
    - The IKE protocol version.
    type: int

key_lifetime:
    description:
    - The key lifetime in seconds.
    type: int

resource_group:
    description:
    - The resource group to use.
    type: str

encryption_algorithm:
    choices:
    - triple_des
    - aes128
    - aes256
    description:
    - The encryption algorithm.
    type: str

authentication_algorithm:
    choices:
    - md5
    - sha1
    - sha256
    description:
    - The authentication algorithm.
    type: str