To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/5cc05fda-51a7-4b68-b24d-e47acdd2aff3%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/QWMQJCUavV0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEkdrMg4wF5hazYTj-jUEuX0S%3D3QLhB2YEG%3DV9OBpm9u3bVyHQ%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/QWMQJCUavV0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEkdrMg4wF5hazYTj-jUEuX0S%3D3QLhB2YEG%3DV9OBpm9u3bVyHQ%40mail.gmail.com.
NOTICE: The information contained in this email may be confidential, proprietary and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please reply to the sender and destroy all copies of the message. Thank you.
Yep, I did the same thing. I haven't had the chance to try running it to see if I got any errors.
On Thu, Jul 28, 2016 at 9:53 AM, Brandon <brandon.s...@spoken.com> wrote:
I've found that by copying and modifying ios.py in ../ansible/module_utils/ and then pointing ios_template to this new module its easy to change "terminal length 0" to "terminal pager 0". Doing so, however, has apparently broken something else because now Ansible does not interpret templates correctly and sends the template name as a command, instead of parsing the template and executing the contents. If anyone has a solution for that I'd be glad to hear it.
NOTICE: The information contained in this email may be confidential, proprietary and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please reply to the sender and destroy all copies of the message. Thank you.
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/QWMQJCUavV0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b73e228a-463f-4af4-82ba-f279b452df11%40googlegroups.com.
I've found that by copying and modifying ios.py in ../ansible/module_utils/ and then pointing ios_template to this new module its easy to change "terminal length 0" to "terminal pager 0". Doing so, however, has apparently broken something else because now Ansible does not interpret templates correctly and sends the template name as a command, instead of parsing the template and executing the contents. If anyone has a solution for that I'd be glad to hear it.
NOTICE: The information contained in this email may be confidential, proprietary and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please reply to the sender and destroy all copies of the message. Thank you.
--
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f44e9703-4f55-4824-8441-2ecb8e801f3c%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/QWMQJCUavV0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEkdrMhS_fGecOVEh5a9R%3D0vuGAUwJabgozG6x7mb1431SNfyA%40mail.gmail.com.
- hosts: 192.168.0.1 gather_facts: False connection: local
tasks: - asa_command: commands: - sh ver
To unsubscribe from this group and all its topics, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b669ca68-3385-485f-96b1-a99c9f99dc26%40googlegroups.com.
The asa_* commands are not part of latest Ansible version (2.1.1.0) yet.
The asa_* commands are not part of latest Ansible version (2.1.1.0) yet.You need to clone the repository https://github.com/ansible/ansible-modules-extras and modify ansible's configuration to point to your local folder in /etc/ansible/ansible.cfg with "library = ..."
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/QWMQJCUavV0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c80fd3d5-634e-4bfe-ad4d-17d116f95a15%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAM8dj%3D1UdM1-aCppUhiojwsEsut7pyBRAzWyE%3Di5PoLBYFX_%3Dg%40mail.gmail.com.
You're right, I'm not running from devel. I'm running Latest Release from Apt.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEkdrMiPe2bMzuZ133z2086KKz%3DUHAP-GoQzDuY2_ZFaFA1DsQ%40mail.gmail.com.
To install from official PPA for Ubuntu: http://docs.ansible.com/ansible/intro_installation.html#latest-releases-via-apt-ubuntu
Yes I see the instructions on how to install. I've done the install of the latest release from Apt a few times. And I've done an install of the latest devel once.
So what is everyone saying.... that asa_command is only supported with the latest devel?
To install from official PPA for Ubuntu: http://docs.ansible.com/ansible/intro_installation.html#latest-releases-via-apt-ubuntuAnother way is through pip: sudo pip install ansible
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/QWMQJCUavV0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/e78db62c-0fc2-4837-895c-e37b0400a4a8%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAM8dj%3D23bBK6Mc3Fw8g-24zroz54pN0Zsm3-Xyto-EXicTXcOQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/7e7d5823-8087-4789-8771-0b85381f9c74%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/QWMQJCUavV0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEkdrMg02s42KAw4DZw0LdhiVMb%3DjByc49g0ByX%2Bdy4YyerWwg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAKcFC3Zqvw5tGYhgeYsY0xb9kEojZy8FN0oCJ0hWENGWXeOW2A%40mail.gmail.com.
vars: cli: host: "{{ inventory_hostname }}" username: cisco password: cisco authorize: yes auth_pass: cisco transport: cli
tasks: - asa_command: commands: - show version provider: "{{ cli }}"
- asa_command: commands: - show asp drop - show memory provider: "{{ cli }}"
- asa_command: commands: - show version provider: "{{ cli }}" context: system
PLAY RECAP *********************************************************************