Last active
July 9, 2020 12:22
-
-
Save nleiva/91a2e33ac67aa511a55fc141f6b4ae29 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- 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