octupus.o4n_checkpoint.o4n_cp_delete_https_rules (1.1.11) — module

Delete https rules of the selected layer.

| "added in version" 1.0 of octupus.o4n_checkpoint"

Authors: Randy Rozo

preview | supported by octupus

Install collection

Install with ansible-galaxy collection install octupus.o4n_checkpoint:==1.1.11


Add to requirements.yml

  collections:
    - name: octupus.o4n_checkpoint
      version: 1.1.11

Description

Delete https rules of the selected layer.

All operations are performed over Web Services API.


Requirements

Inputs

    
layers:
    elements: dict
    required: true
    suboptions:
      name:
        description:
        - Layer identified by the name or UID.
        required: true
        type: str
      rules:
        description:
        - Layer identified by the name or UID.
        elements: dict
        required: false
        suboptions:
          rule_number:
            description:
            - Rule number.
            required: true
            type: integer
          uid:
            description:
            - Object unique identifier.
            required: true
            type: str
        type: list
    type: list

provider:
    elements: dict
    required: true
    suboptions:
      domain:
        required: true
        type: str
      host:
        required: true
        type: str
      password:
        required: true
        type: str
      port:
        required: true
        type: integer
      user:
        required: true
        type: str
      validate_certs:
        required: true
        type: boolean
    type: dic

Outputs

output:
  description: The checkpoint Set acces rules output
  returned: allways
  sample:
    output:
      changed: false
      content:
      - layer_name:
        - action: Accept
          blade:
          - Any
          destination:
          - Any
          enabled: false
          install-on:
          - Cluster-TEST
          number: ''
          section: REGLA ACCESO
          service:
          - Any
          'site_category:':
          - Any
          source:
          - Any
          track: Log
      discard: []
      failed: false
      logout: OK
      msg:
        layer_name: Se han eliminado 1 reglas.
      publish:
        progress-percentage: 100
        status: succeeded
        suppressed: false
        task-details:
        - publishResponse:
            mode: async
            numberOfPublishedChanges: 1
          revision: 4330f-0ddf-4bb4-92a6-1d73b9f
        task-id: 04567-89ab-cdef-87f4-5730958
        task-name: Publish operation
  type: dict