Síða 1 af 1

Ansible spurning

Sent: Þri 23. Mar 2021 14:23
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.