Ansible spurning

Svara

Höfundur
Semboy
Gúrú
Póstar: 586
Skráði sig: Lau 05. Maí 2007 22:28
Staða: Ótengdur

Ansible spurning

Póstur af Semboy »

Eg skil ekki alveg hvad eg er ad gera vitlaust.
root@Ansible:~# ansible-playbook testplay1.yml

PLAY [test_ping] *********************************************************************************************

TASK [Ping device R30-1] *************************************************************************************
fatal: [R30-1]: FAILED! => {"msg": "Unable to automatically determine host network os. Please manually configu re ansible_network_os value for this host"}

PLAY RECAP ***************************************************************************************************
R30-1 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignor
root@Ansible:~/host_vars# cat R30-1.yml
ansible_host: 192.168.122.222
ansible_user: R30-1
ansible_ssh_pass: cisco
ansible connection: network_cli
ansible_become_method: enable
ansible_become_pass: cisco
Mynd

Edit: Buinn ad redda thessu.
Last edited by Semboy on Þri 23. Mar 2021 17:36, edited 1 time in total.
hef ekkert að segja LOL!
Svara