[ansible-project] Ansible : get running config from aruba switches

2018-04-13 Thread Martial CHAVIGNY
Hello, I'm new user of ansible and for the first projet, I would to get current config of aruba (2930F) switches (for backup). I read these documentations : https://docs.ansible.com/ansible/devel/network/getting_started/first_playbook.html https://docs.ansible.com/ansible/2.4/aruba_config_modul

[ansible-project] Re: Ansible : get running config from aruba switches

2018-04-13 Thread Martial CHAVIGNY
le/lib/ansible/plugins/connection/network_cli.py", line > 316, in _connect > self.receive() > File "/opt/ansible/lib/ansible/plugins/connection/network_cli.py", line > 391, in receive > data = self._ssh_shell.recv(256) > File "/usr/lib/python2.7/site-pac

[ansible-project] Re: Ansible : get running config from aruba switches

2018-04-13 Thread Martial CHAVIGNY
all last): File "/usr/bin/ansible-connection", line 70, in start self.connection._connect() File "/opt/ansible/lib/ansible/plugins/connection/network_cli.py", line 316, in _connect self.receive() File "/opt/ansible/lib/ansible/plugins/connection/network_

Re: [ansible-project] Ansible : get running config from aruba switches

2018-04-16 Thread Martial CHAVIGNY
Thank for your response, I think use backup parameter on aruba_config. The parameter allow you to get running-config and backup file to the backup folder in playbook directory. Le samedi 14 avril 2018 11:24:40 UTC+2, Kai Stian Olstad a écrit : > > On Friday, 13 April 2018 13.12.40 CEST M