Ansible spurning


Höfundur
Semboy
1+1=10
Póstar: 1151
Skráði sig: Lau 05. Maí 2007 22:28
Reputation: 112
Staða: Ótengdur

Ansible spurning

Pósturaf Semboy » Þri 23. Mar 2021 14:23

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.
Síðast breytt af Semboy á Þri 23. Mar 2021 17:36, breytt samtals 1 sinni.


hef ekkert að segja LOL!