Skip to content

Instantly share code, notes, and snippets.

@nleiva
Last active July 9, 2020 12:22
Show Gist options
  • Save nleiva/91a2e33ac67aa511a55fc141f6b4ae29 to your computer and use it in GitHub Desktop.
Save nleiva/91a2e33ac67aa511a55fc141f6b4ae29 to your computer and use it in GitHub Desktop.
---
- name: Generate SSH ACL Filter for a given OS.
hosts: localhost
gather_facts: no
tasks:
- name: Run Capirca Module
nleiva.capirca_acl.translate:
platform: 'ciscoxr'
filter_options: 'My-SSH-Filter'
def_folder: "sample"
pol_file: "sample/terms.pol"
register: testout
- name: Display the filter
debug:
msg: "{{ testout.message }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment