goldyfruit.ibmcloud_automation.ic_is_subnet_acl (1.0.4) — module

Manage VPC subnet network ACL 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

Attach network ACL on subnet on IBM Cloud.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Attach network ACL to a subnet
  ic_is_subnet_acl:
    subnet: ibmcloud-subnet-baby
    acl: ibmcloud-acl-baby

Inputs

    
acl:
    description:
    - Network ACL name or ID.
    required: true
    type: str

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

subnet:
    description:
    - Subnet name or ID.
    required: true
    type: str