2020-09-01ãã1ã¶æéã®è¨äºä¸è¦§
ã¯ããã« 2020/09/26 ã«ãYouTube Live ã§ãã¤ã¾ãã Ansible ãPart17ãAnsible 2.10 ã¾ãããã¨ããé ä¿¡ããã¾ããã å®éã«ä½æ¥ããªããã¨ã©ã¼ã¨æ¦ã£ã¦é²ããã·ãªã¼ãºã§ãã tekunabe.connpass.com ä»åã¯ã2020/09/22 ã«ãªãªã¼ã¹ãããã® Asnible 2.10.0â¦
ã¯ããã« Ansible ã§ããªã¹ãã®ä¸ã®åè¦ç´ ã«å¯¾ãã¦ä¸å¾ã§ãªã«ãã®å¦çããã¦ãå¥ã®è¦ç´ ãçæãããã¨ããããã¾ãã Python ã®å å 表è¨ã§ãªã¹ããçæããã¤ã¡ã¼ã¸ã§ãã å ¨ãåãã¨ããããã§ã¯ãªãã®ã§ãããmap ãã£ã«ã¿ã¼ãå©ç¨ããã¨è¿ããã¨ãå°ãã§â¦
ã¯ããã« Ansible ã«ã¯ãå¤ãæå¾ ããããæ¡ä»¶ãæºãããã©ããããã§ã㯠assert ã¢ã¸ã¥ã¼ã«ãããã¾ãï¼æ¨æºã¢ã¸ã¥ã¼ã«ï¼ã åºæ¬çã«ã¯ãassert çµæã fail ã ã¨ãã®æç¹ã§ Playbook ã®å¦çãä¸æ¢ããã¾ãã ä¸æ¹ã§ã1㤠fail ããã ãã§æ¢ããã®ã§ã¯ãªãâ¦
ã¯ããã« ini ãã¡ã¤ã«å½¢å¼ã®ã¤ã³ãã³ããªãã¡ã¤ã«ã§æå®ããã ansible_become å¤æ°ã®å¤ã®è§£éã ansible 2.10.0 ã§ä¿®æ£ããã¾ããã changelog The ansible_become value was not being treated as a boolean value when set in an INI format inventory fâ¦
ã¯ããã« ã¾ããªã ansible 2.10.0 ããªãªã¼ã¹ãããäºå®ã§ãã 2.10 ãã collection åæã®éç¨ãå§ã¾ããansible ãåãå·»ãããã±ã¼ã¸ã¯ 2ã¤ã«ãªãã¾ããã æ¨æºã¢ã¸ã¥ã¼ã«ã®ã¿ã®ããã±ã¼ã¸ã ansible-base ã ansible-base ã«å ãã¦å種ã³ã¬ã¯ã·ã§ã³ãâ¦
ã¯ããã« 2020/09/20 ã«ãYouTube Live ã§ãã¤ã¾ãã Ansible ãPart16ãã¢ã¸ã¥ã¼ã«ã®æå®ãFQCN表è¨ã«ç§»è¡ãããã¨ããé ä¿¡ããã¾ããã å®éã«ä½æ¥ããªããã¨ã©ã¼ã¨æ¦ã£ã¦é²ããã·ãªã¼ãºã§ãã tekunabe.connpass.com ä»åã¯ãAsnible 2.10 㨠Collection â¦
ã¯ããã« Playbook å ã§å©ç¨ãã collection ã®ã¢ã¸ã¥ã¼ã«ãå©ç¨ããéãã¢ã¸ã¥ã¼ã«åã FQCNï¼ä¾:cisco.ios.ios_configï¼ã§æå®ããã»ããcollections ãã£ã¬ã¯ãã£ãã§ã¾ã¨ãã¦æå®ãããã¨ãã§ãã¾ãã ç¾æç¹(2020/09/20)ã®ææ°çã®ããã¥ã¡ã³ãã«ã¯ã以â¦
ã¯ããã« Ansible 2.10 ãããå¤ãã®ã¢ã¸ã¥ã¼ã«ããã©ã°ã¤ã³ãªã©ã Collection ã¸ç§»è¡ãã¾ããã collection 㯠cisco.ios ã®ãããªãããåºåãã®åå空éãè¨ãããã¾ãããã®ä¸ã®ã¢ã¸ã¥ã¼ã«ãå©ç¨ããå ´åã¯ãcisco.ios.ios_configã®ããã«æå®ãã¾ãããâ¦
ã¯ããã« gather_facts ã®ããã©ã«ã㯠true ã§ããã¤ã¾ããå種ã·ã¹ãã æ å ±ã¯ããã©ã«ãã§åéããã¾ãã å®éã®ã¨ããã¯ãã決ã¾ãã®ããã« gather_facts: false ãæå®ãã¦ç¡å¹ã«ããã±ã¼ã¹ã®ã»ããå¤ãã®ã§ã¯ãªãã§ããããã ããã©ã«ãã®æå㯠DEFAUâ¦
ã¯ããã« Collection 㯠ansible-galaxy collection install ã³ãã³ãã§ã¤ã³ã¹ãã¼ã«ãã¾ãã ãã ããç¾ç¶ã¯ã¢ãããã¼ãããããã®å°ç¨ãªãã·ã§ã³ã¯ããã¾ããï¼issueã¯openï¼ãã¾ãããã§ã«ååã® collection ãã¤ã³ã¹ãã¼ã«ããã¦ãã ãã®è¨äºã§ã¯ -f â¦
ã¯ããã« Ansible 2.10 㧠Collection éç¨ãæ¬æ ¼çã«å§ã¾ã£ããã¨ã«ãããæ¬ä½å´ã«ãæ°ããä»çµã¿ãã§ãã¾ããã ããã¨éè¦ããã ãã©åãããããªæ å ±ã¨ãã¦ä»¥ä¸ã®2ç¹ã®ãªã³ã¯ãæ²è¼ã¾ãã Ansible2.9ã¾ã§ã«ãã£ãã¢ã¸ã¥ã¼ã«ãè£ é£¾ãªã表è¨ï¼FQCNã§ãªãï¼â¦
ã¯ããã« Ansible 2.10 ããããããæ¬æ ¼çã« Collection ã«ããã¢ã¸ã¥ã¼ã«ãªã©ã®é å¸ãéç¨ãã¯ãã¾ãã¾ããã docs.ansible.com åã¢ã¸ã¥ã¼ã«ããã£ã«ã¿ã¼ãªã©ã¯ãåå空éãè¨ãããã¾ããã ãã¨ãã°ãios_config ã¢ã¸ã¥ã¼ã«ã§ããã°ãåå空éãå«ããâ¦
ã¯ããã« Ansible 2.10 㧠path_join ã¨ãããã£ã«ã¿ã¼ã追å ããã¾ãããï¼å¯¾å¿PRï¼ Python ã® os.path.join ã®ããã«ãä¸ããããæååã®ãªã¹ããããã£ã¬ã¯ããªã®é層ããã¡ã¤ã«åã¨ãã¦æ±ãã/ ãå¿ è¦ã«å¿ãã¦è£ããªããé£çµãã¦ããã¾ãã é常ã®æåâ¦
ã¯ããã« 2020/09/12 ã«ãYouTube Live ã§ãã¤ã¾ãã Ansible ãPart15ãcli_parse ã¢ã¸ã¥ã¼ã«ã§æ§é åãã¼ã¿ãåå¾ãããã¨ããé ä¿¡ããã¾ããã å®éã«ä½æ¥ããªããã¨ã©ã¼ã¨æ¦ã£ã¦é²ããã·ãªã¼ãºã§ãã tekunabe.connpass.com ä»åã¯ãansible.netcommon câ¦
ã¯ããã« NetBox ã¯ãªã¼ãã³ã½ã¼ã¹ã® IPAMãDCIM ã§ãã github.com ãã¨ãã°ããããã¯ã¼ã¯æ©å¨ã®æ å ±ãç»é²ãã¦ãã¤ã³ã¿ã¼ãã§ã¼ã¹ã¸ IP ã¢ãã¬ã¹ãç»é²ãããã§ãã¾ãã ããã©ã«ãã§ãæ§ã ãªè¨å®é ç®ãããã¾ãããå¿ è¦ã«å¿ãã¦è¿½å ã§ãã¾ãããããã«ã¹â¦
ã¯ããã« Playbook å ã§æ°ãã«å¤æ°ãå®ç¾©ãã set_fact ã¨ããã¢ã¸ã¥ã¼ã«ãããã¾ãã åºå®ã§ç°¡åãªå¤ã ã£ããããã®ã§ãããåçã«å¤ãè¨å®ããå ´åã¯ä¸èº«ã確èªããããªãã¾ãã ãããªã¨ããdebug ã¢ã¸ã¥ã¼ã«ã§æ°ãã«ã¿ã¹ã¯ãä½ããªãã¦ã ansible-playboâ¦
ã¯ããã« 2020/08/26-28 ã«æ²ç¸çé£è¦å¸ã¨ãªã³ã©ã¤ã³ã§éå¬ããã JANOG46 Meeting in Okinawa ã«åå ãç»å£ãã¦ãã¾ããã æ°åã³ããã¦ã£ã«ã¹ã®å½±é¿ã«ããã延æã¨éå¬å½¢æ ï¼ç¾å°ï¼ãªã³ã©ã¤ã³ï¼ã®å¤æ´ãä½åãªãããã¾ããããç¡äºã«éå¬ããã¦æ¬å½ã«è¯ãâ¦
ã¯ããã« ~ ã¯ãæååãé£çµããæ¼ç®åã§ãã æååã®é£çµã¨ãã㨠+ ã§ããã®ã§ã¯ï¼ã¨æã£ãæ¹ãããããç¥ãã¾ãããï¼ç§ãããã§ããï¼ + ã®å ´åã¯ãåã«ãã£ã¦æåãç°ãªãã¾ãï¼æ°åã®å ´åã¯è¶³ãç®ï¼ã ä¸æ¹ã§ ~ ã¯ãæ°åãä¸ãããã¦ãæååã«ãã£â¦