2022-11-01ãã1ã¶æéã®è¨äºä¸è¦§
ã¯ããã« ãããã¯ã¼ã¯ã¢ã¸ã¥ã¼ã«ãé·ããå é¨çã«å©ç¨ãã¦ãã SSH ã¯ã©ã¤ã¢ã³ãã©ã¤ãã©ãªã¨ãã¦ãparamiko ãããã¾ãã æè¿ã¯ ansible-pylibssh ã¨ãããã®æ°ãããã®ãããã¾ããç»å ´ããçµç·¯ã¯ Ansible ã®å ¬å¼ããã°ã®è¨äºã«æ¸ããã¦ãã¾ãã ããã¦â¦
ã¯ããã« æè¿ã®ãã¼ã¸ã§ã³ã® Ansible 㧠Cisco IOS ãªã©ã®ãããã¯ã¼ã¯æ©å¨ã«æä½ãã Playbook ãå®è¡ããã¨ã以ä¸ã®ãããªè¦åï¼WARNINGï¼ãè¦ããããã¨ã¯ãªãã§ããããã [WARNING]: ansible-pylibssh not installed, falling back to paramiko ã¨ã©ã¼â¦
ã¯ããã« å æ¥ãAnsible 4ç³»ãã 6ç³»ã«ãã¼ã¸ã§ã³ã¢ããããããä»ã¾ã§æ£å¸¸ã«åãã¦ãã Cisco IOS ã«å¯¾ãã¦å¦çãã Playbook ãåããªããªãç¾è±¡ã«åºä¼ãã¾ããã 以ä¸ã®ããã«ãèªè¨¼ã¨ã©ã¼ã§ãã fatal: [sw01]: FAILED! => {"changed": false, "msg": "Fâ¦