amotolani.cisco_fmc.security_zone (1.1.5) — module

Create, Modify and Delete Cisco FMC Security Zone objects

Authors: Adelowo David (@amotolani)

Install collection

Install with ansible-galaxy collection install amotolani.cisco_fmc:==1.1.5


Add to requirements.yml

  collections:
    - name: amotolani.cisco_fmc
      version: 1.1.5

Description

Create, Modify and Delete Cisco FMC network objects.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create Security Zone objects and deploy changes
  amotolani.cisco_fmc.security_zone:
    name: Zone1
    state: present
    interface_mode: switched
    fmc: ciscofmc.sample.com
    username: admin
    password: Cisco1234
    auto_deploy: True
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete  Security Zone objects
  amotolani.cisco_fmc.security_zone:
    name: Zone-1
    state: absent
    interface_mode: routed
    fmc: ciscofmc.sample.com
    username: admin
    password: Cisco1234

Inputs

    
fmc:
    description:
    - IP address or FQDN of Cisco FMC.
    required: true
    type: str

name:
    description:
    - The name of the cisco_fmc object to be created, modified or deleted.
    required: true
    type: str

state:
    description:
    - Whether to create/modify (C(present)), or remove (C(absent)) an object.
    required: true
    type: str

password:
    description:
    - Cisco FMC Password
    required: true
    type: str

username:
    description:
    - Cisco FMC Username
    - User should have sufficient permissions to modify objects
    required: true
    type: str

auto_deploy:
    default: false
    description:
    - Option to deploy configurations to deployable devices after changes
    required: false
    type: bool

interface_mode:
    description:
    - Supported choices are ['routed', 'switched', 'asa', 'inline', 'passive']
    required: true
    type: str