Re: [ansible-project] Ansible - save config - Small business SG 500

2019-02-12 Thread Jean berjonneau
s > privilege escalation " > > Other deprecated features are used like "provider" and "authorize". > See here > <https://docs.ansible.com/ansible/latest/modules/ios_command_module.html>. > > Bye, > Krisztian > > Jean berjonneau > ezt írta (i

Re: [ansible-project] Ansible - save config - Small business SG 500

2019-01-29 Thread Jean berjonneau
Hello, thanks for your answer, actually when i do this with "show clock" it works fine. Taking your advice i tried, this is my ne - name: IOS | Datadump + Show run ios_config: authorize: yes provider: "{{ provider }}" commands: - terminal datadump register:

[ansible-project] Ansible - save config - Small business SG 500

2019-01-28 Thread Jean berjonneau
*Ansible version = 2.7.5* Hello all, I am using Ansible to save configurations of all my switches but they are CISCO small businesses. I am curently using a playbook like this : --- - hosts: SW-Switches gather_facts: no connection: local vars_prompt: - name: "mgmt_username"

[ansible-project] Ansible-playbook with cisco small business switches

2019-01-27 Thread Jean berjonneau
Hello, I'm using Ansible but i ran into a problem few days ago. >From Ansible server: I am able to log on my switch using "cisco ssh@10.99.70.46" and i can copy running-config to my ansible server (repo tftp) I have SW-Switches in my hosts file. I want a playbook to : - log on my small