Skip to content

Instantly share code, notes, and snippets.

@dpflick
Created October 2, 2019 01:21
Show Gist options
  • Save dpflick/f5aaa7eaa58012f0202f301c40afa380 to your computer and use it in GitHub Desktop.
Save dpflick/f5aaa7eaa58012f0202f301c40afa380 to your computer and use it in GitHub Desktop.
Hereis the corrected group_vars file:
skippy:
services_legacy_network_description: 'Skippy Legacy Data Center Network'
services_legacy_network_ip: '10.10.1.0'
services_legacy_network_mask: '255.255.255.0'
And in the role, reference these variables like this:
- name: configure network object-group for Skippy Temecula
asa_og:
name: Skippy_SERVICES_Temecula
group_type: network-object
state: present
description: {{ skippy.services_legacy_network_description }}
ip_mask:
- {{ skippy.services_legacy_network_ip }} {{ skippy.services_legacy_network_mask }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment