[ansible-project] Re: How to use enable password with ansible

2019-07-05 Thread Chiu Hsia Peng
Hi, Because I have no cisco device on handy, I "guess" this may work! Add "Password:" (after "enable" command) as a valid prompt. prompts: - "[>|#] |Password:" Reference page: https://qiita.com/Yohichi_Hayashi/items/772ea6b1e66d4cc8aa26` sincerely, Jane# Ankur Atri於 2019年7月5日星期五 UTC

[ansible-project] Re: frr_facts and/or frr_bgp give assertionError?

2019-06-26 Thread Chiu Hsia Peng
( > > Any ideas? > > Thanks, > Piet > > > > Op woensdag 26 juni 2019 04:07:44 UTC+2 schreef Chiu Hsia Peng: >> >> What ansible_connection are you using? >> I encountered a similar problem when ansible_connection is set to local. >> 1. I solved the

[ansible-project] ios_config: What's error regarding to "Check device is in proper prompt after error"

2019-06-25 Thread Chiu Hsia Peng
Hi, I don't have IOS device at hand, then I can't try the command: "mac-address-table notification mac-move" I checked the command on-line, I think it is a valid command on global configuration mode. I wonder why the task in test/integration/targets/ios_config/tests/cli/defaults.yaml called:

[ansible-project] Re: frr_facts and/or frr_bgp give assertionError?

2019-06-25 Thread Chiu Hsia Peng
What ansible_connection are you using? I encountered a similar problem when ansible_connection is set to local. 1. I solved the problem by setting ansible_connection to network_cli 2. adding frr to lib/ansible/config/base.yml also can solve the problem (ansible_connection is set to local) i.e. NE