2019-10-01ãã1ã¶æéã®è¨äºä¸è¦§
book.impress.co.jp ã¯ããã« ãã¡ãã®è¨äºã§ãä¼ããã¾ãããããã®åº¦ãAnsible å®è·µã¬ã¤ã 第3çãã®ã5-3 ãããã¯ã¼ã¯æ©å¨ã®æ§æ管çããå·çããã¦ããã ãã¾ããã ãã®è¨äºã§ã¯ãè£è©±çãªãå·çä¸ã« GitHub ã«ããã issue ããåºä¼ã£ã issue ããç´¹â¦
ã¯ããã« 2019å¹´7æãAnsible ã®å ¬å¼ããã¥ã¡ã³ãã«ãåªå 度ã«é¢ããç·åçãªãã¼ã¸ãã§ãã¦ãã¾ããã docs.ansible.com å·¦ã¡ãã¥ã¼ã®ãããã 対象ã¯ä»¥ä¸ã®4ã¤ã§ãã è¨å® ã³ãã³ãã©ã¤ã³å¼æ° Playbook Keywords å¤æ° ä»ã¾ã§ãå¤æ°ã®åªå é ä½ããansible.câ¦
â ã¯ããã« CentOS 8 ãVirtualBox ã«ã¤ã³ã¹ãã¼ã«ãããã¨ããããçµç¤ã«ä»¥ä¸ã®ãããªä¹±ããç»é¢ã«ãªã£ã¦ãã¾ãã¾ããã ä¹±ããç»é¢ ããã¯ãå®é㯠LICENSING ã®ç»é¢ã®ããã§ãã Tab + Enter ãé§ä½¿ãã¦ã©ãã«ãåãæããæ¹ãããã£ãããã¾ããã æ¬æ¥â¦
â ã¯ããã« Network Features Coming Soon in Ansible Engine 2.9 ãè¦ã¦ããã¨ãã«ãã¾ãã¾ç¥ã£ãã®ã§ãããã¢ã¸ã¥ã¼ã«ã®ãªãã·ã§ã³ã®ããã©ã«ããèªåã§æå®ã§ãã module_defaults ã¨ãããã£ã¬ã¯ãã£ããããã¾ãã ã¿ã¹ã¯ãã¨ã«ãæ¯åæå®ãã¦ããããâ¦
ã¯ããã« ãããã¯ã¼ã¯èªååPythonã©ã¤ãã©ãªã§ãããnetmikoãNAPALMããPython 2ç³» ãµãã¼ãã®æçµãã¼ã¸ã§ã³ããªãªã¼ã¹ãã¾ããããããããnetmiko 2.4.2ãNAPALM 2.5.0 ã§ãã 次åã®ãªãªã¼ã¹ãã㯠Python 3.6 以éã®ã¿ã®ãµãã¼ãã¨ã¨ãã¦ãã¾ãã ãâ¦
â ã¯ããã« Red Hat Enterprise Linux 8 (以ä¸ãRHEL 8)ã«ãAnsible Tower ã®ã¢ããã¹ããªã¼ã ã§ãã AWX ãã¤ã³ã¹ã¼ã«ããæé ãã¾ã¨ãã¾ãã ç°å¢ RHEL 8.0 on AWS EC2 t2-medium (ami-0520e698dd500b1d1) Python 3.6.8 ãããã¤æ¹æ³ docker-compose AWX â¦
â ã¯ããã« CentOS 8 ã§ã¯ãã·ã¹ãã ã§å©ç¨ãã Python ã Python 3 ã«ãªã£ãããããã©ã«ãã§ã¯ python ã³ãã³ããå©ç¨ã§ããªãã£ããã¨ãCentOS 7 ã¨ã¯ Python äºæ ãç°ãªãã¾ãããã®ãããAnsible ã pip ã§ã¤ã³ã¹ãã¼ã«ããå ´åããCentOS 7 ã¨ã¯å°ãæâ¦
â ã¯ããã« Ansible ã§ã¯ãã¿ã¼ã²ãããã¼ãï¼SSHæ¥ç¶å ï¼ã§å©ç¨ãã Python ã ansible_python_interpreter ã¨ããå¤æ°ã§æ示çã«æå®ã§ãã¾ãã ãã®å¤æ°ã¯ãã¤ã³ãã³ããªå¤æ°ã host_vars ã®ä»ã«ããã¿ã¹ã¯å¤æ°ã¨ãã¦ãæå®ã§ãã¾ãããã®ãããã¿ã¹ã¯ãâ¦