2019-05-01ãã1ã¶æéã®è¨äºä¸è¦§
ã¯ããã« â»ããã¾ã§å°ãã¿ã®è©±ãªã®ã§å®éç¨ã§å©ç¨ããã®ã¯ãããããã¾ããã YAML 㯠JSON ã®ã»ã¼ã¹ã¼ãã¼ã»ãããªã®ã§ããã°ãJSON 㧠Playbook ãæ¸ããã®ã§ã¯ï¼ã¨æã£ããã¨ããã£ãã®ã§è©¦ãã¦ã¿ã¾ããã Playbook $ cat test.yml [ { "gather_facts": fâ¦
â ã¨ã©ã¼ã®åå ã¨å¯¾ç Ansible ã³ã³ãã¼ã«ãã¼ãã« paramiko (Python ã® SSHã¯ã©ã¤ã¢ã³ãå®è£ ã©ã¤ãã©ãª)ãã¤ã³ã¹ãã¼ã«ããã¦ããªãç°å¢ã§ãAnsible ãå®è¡ããã¨ã以ä¸ã®ãããªã¨ã©ã¼ã表示ããã¦ç°å¸¸çµäºãã¦ãã¾ãã¾ãã fatal: [iosao1]: FAILED! => {"â¦
â ã¯ããã« 2019/05/16 ã« Ansible 2.8.0 ããªãªã¼ã¹ããã¾ãããå¤æ°ã®ã¢ã¸ã¥ã¼ã«ã®è¿½å ããæ©è½è¿½å ããã°ä¿®æ£ãæ©è½åé¤ãæ©è½ã®éæ¨å¥¨åãä»æ§å¤æ´ãå«ã¾ãã¦ãã¾ãã 大ãããªãããã¯ã¨ãã¦ã¯ä»¥ä¸ã®ãã®ãããã¾ãã Python ã®ã¤ã³ã¿ã¼ããªã¿ã¼ãæ¢ç´¢â¦
â ã¯ããã« Ansible 2.8 ã§ã¯ãRESTCONF ã§ãããã¯ã¼ã¯æ©å¨ã®æ å ±ãåå¾ããããè¨å®ãå¤æ´ãããã§ãã RESTCONF ã¢ã¸ã¥ã¼ã«ãå°å ¥ããã¾ãã(æ¬è¨äºå·çæç¾å¨ RC段é) ãã®è¨äºã§ã¯ restconf_get ã¢ã¸ã¥ã¼ã«ãå©ç¨ãã¦ãIOS-XE 㸠RESTCONF ã§ã¢ã¯ã»ã¹ãâ¦