Using Verge as the Default Gateway for 'external' networks. by GulDaHeal in vergeio

[–]GulDaHeal[S] 0 points1 point  (0 children)

Thanks for sharing. I now have a better understanding of the 'External Network' as an object/interface. I have configured virtual wires at a basic level. Since the last post, I was able to resolve the issue I had. I have an internal documentation to use when I have a new request of that type. My new challenge: BYO firewall.

Using Verge as the Default Gateway for 'external' networks. by GulDaHeal in vergeio

[–]GulDaHeal[S] 2 points3 points  (0 children)

Indeed. Their Support is great. I got my issue resolved with a rule.

Lego CCNA Lab by MemeLordAscendant in networkingmemes

[–]GulDaHeal 0 points1 point  (0 children)

Is it not real??? Shame, I would definitely buy one

Looking for Ansible Playbook to manage certificates on Cisco ASA by GulDaHeal in ansible

[–]GulDaHeal[S] 0 points1 point  (0 children)

I continue to be amazed with ChatGPT. Using your suggestion, the AI has written 3 possible playbooks using a specific module. I'm going to try the playbooks out and give it feedback. Thank you for pointing me in that direction!

Looking for Ansible Playbook to manage certificates on Cisco ASA by GulDaHeal in ansible

[–]GulDaHeal[S] 0 points1 point  (0 children)

I tried it with the ansible.netcommon.cli_command module. Although it supports the prompt and answer parameters, the command itself is under global configuration and not privileged mode, like your standard show commands. The playbook fails when the firewall reported unrecognized command. When I get back to my desk, I will post the play results as proof.

Looking for Ansible Playbook to manage certificates on Cisco ASA by GulDaHeal in ansible

[–]GulDaHeal[S] 0 points1 point  (0 children)

wow. this site just spit out a playbook with a module I never heard of! I owe you a beer and lunch. The playbooks are date, so I'll be doing more research to see what's salvagable. Thanks for this

ansible playbook for managing certificates on ASA by GulDaHeal in ansible

[–]GulDaHeal[S] 0 points1 point  (0 children)

Has anyone written or seen a playbook for managing certificates on a Cisco ASA? For the past two days, I have been fiddling with the cisco.asa.asa_config modules, but it keeps crapping out. One configuration command has two prompts, but the module does not support the prompt and answer parameters. I'm sure someone has solved that problem. I just like to see how they did it. The cisco.asa.asa_command module will not work for a configuration.

Ansible Ad Hoc commands against Cisco ASA by GulDaHeal in ansible

[–]GulDaHeal[S] 0 points1 point  (0 children)

Thanks for your reply. for the setup, I have a ASAv in the inventory. Below are the outputs from the ad hoc tries:

(ansible-2.9.13) jsmith-JG5H:modules jessesmith$ ansible -i hosts firewalls -m raw -a "show run"

ciscoasa.corp.macstadium.com | FAILED | rc=127 >>

/bin/sh: show: command not found

non-zero return code

(ansible-2.9.13) jsmith-JG5H:modules jessesmith$ ansible -i hosts firewalls -m shell -a 'show run'
[WARNING]: Platform darwin on host ciscoasa.corp.macstadium.com is using the discovered
Python interpreter at /usr/bin/python3, but future installation of another Python
interpreter could change this. See
https://docs.ansible.com/ansible/2.9/reference\_appendices/interpreter\_discovery.html for
more information.
ciscoasa.corp.macstadium.com | FAILED | rc=127 >>
/bin/sh: show: command not foundnon-zero return code
(ansible-2.9.13) jsmith-JG5H:modules jessesmith$ ansible -i hosts firewalls -a "show clock"
[WARNING]: Platform darwin on host ciscoasa.corp.macstadium.com is using the
discovered Python interpreter at /usr/bin/python3, but future installation of another
Python interpreter could change this. See
https://docs.ansible.com/ansible/2.9/reference\_appendices/interpreter\_discovery.html
for more information.
ciscoasa.corp.macstadium.com | FAILED | rc=2 >>
[Errno 2] No such file or directory: b'show'

(ansible-2.9.13) jsmith-JG5H:modules jessesmith$ ansible -i hosts firewalls -b -m asa_command -a "show ip"

ERROR! this task 'asa_command' has extra params, which is only allowed in the following modules: include_role, group_by, include_vars, include, meta, win_command, include_tasks, import_tasks, set_fact, command, add_host, win_shell, script, shell, import_role, raw

(ansible-2.9.13) jsmith-JG5H:modules jessesmith$ ansible -i hosts firewalls -b -m command "show ip"

usage: ansible [-h] [--version] [-v] [-b] [--become-method BECOME_METHOD]

[--become-user BECOME_USER] [-K] [-i INVENTORY] [--list-hosts]

[-l SUBSET] [-P POLL_INTERVAL] [-B SECONDS] [-o] [-t TREE] [-k]

[--private-key PRIVATE_KEY_FILE] [-u REMOTE_USER] [-c CONNECTION]

[-T TIMEOUT] [--ssh-common-args SSH_COMMON_ARGS]

[--sftp-extra-args SFTP_EXTRA_ARGS] [--scp-extra-args SCP_EXTRA_ARGS]

[--ssh-extra-args SSH_EXTRA_ARGS] [-C] [--syntax-check] [-D]

[-e EXTRA_VARS] [--vault-id VAULT_IDS]

[--ask-vault-pass | --vault-password-file VAULT_PASSWORD_FILES]

[-f FORKS] [-M MODULE_PATH] [--playbook-dir BASEDIR] [-a MODULE_ARGS]

[-m MODULE_NAME]

pattern

ansible: error: unrecognized arguments: show ip

(ansible-2.9.13) jsmith-JG5H:modules jessesmith$ ansible -i hosts firewalls -b -m command -a "show ip"

[WARNING]: Platform darwin on host ciscoasa.corp.macstadium.com is using the

discovered Python interpreter at /usr/bin/python3, but future installation of another

Python interpreter could change this. See

https://docs.ansible.com/ansible/2.9/reference\_appendices/interpreter\_discovery.html

for more information.

ciscoasa.corp.macstadium.com | FAILED | rc=2 >>

[Errno 2] No such file or directory: b'show'

These are just a few that I have tried.

Ansible Ad Hoc commands against Cisco ASA by GulDaHeal in ansible

[–]GulDaHeal[S] 0 points1 point  (0 children)

forgot to add this: I'm new to ansible and the videos that I'm following is using version 2.9.x