Ansible
ããã«ã¡ã¯ãRed Hat ã½ãªã¥ã¼ã·ã§ã³ã¢ã¼ããã¯ãã®æ¸ æ°´ã§ããRHEL9ããImage Mode for RHELã¨ããæ°ãããªãã¬ã¼ãã£ã³ã°ã·ã¹ãã ã®ãããã¤ã¡ã³ãæ¹å¼ãå°å ¥ããã¦ãã¾ãããçãã触ã£ã¦ã¿ããã¨ã¯ããã¾ããï¼æ¬ããã°è¨äºã§ã¯ããã®Image Mode for RHELâ¦
ã¿ãªããä»æ¥ãã¡ãªã¼ã¯ãªã¹ãã¹ï½¡æ¨æ¥ã«å¼ãç¶ãRed Hatã®ããã¨ãã§ã。Ansible Advent Calendar 2024ã®ï½¤12æ5æ¥ã®è¨äºããå±ããã¾ã。 ansible.posix collection version 2.0.0 ããªãªã¼ã¹ãã¾ãã åã¯ãµãã¼ããã¼ã ã«æå±ãã¦ãã¾ãã、表ã®ä»äºã®é害解â¦
Ansible Advent Calendar 2024ã®4æ¥ç®ã®è¨äºã§ã。 ã¿ãªããã¡ãªã¼ã¯ãªã¹ãã¹ï½¡Red Hatã®ããã¨ãã§ã。 æ¥ã Ansibleã使ã£ã¦èªååãæ¨é²ãã¦ããã¿ãªãã、「Ansibleã®ã¢ã¸ã¥ã¼ã«ããã©ã°ã¤ã³ã«ãªãã·ã§ã³ã追å ãã¦ã»ãã」、 ï½¢å®è¡çµæã®æ»ãå¤ã«èªåãå¿ ç¨ã¨ãâ¦
Red Hat 㧠Ansible ã®ã½ãªã¥ã¼ã·ã§ã³ã¢ã¼ããã¯ãããã¦ããä¸å³¶ã§ãããã¾ãã æ¬ã¨ã³ããªã¼ã¯ Ansible Advent Calendar 2024 ã®3æ¥ç®ã®è¨äºã¨ãªãã¾ãã Ansible Advent Calendar 2024 ã«ã¯Ansible é¢ããæ§ã ãªTIPSããã¬ãã¸ãæ稿ããã¦ããã¾ãã®ãAnâ¦
ããã«ã¡ã¯ãRed Hat ã½ãªã¥ã¼ã·ã§ã³ã¢ã¼ããã¯ãã®æ¸ æ°´ã§ããRHEL7ã®ELSãéå§ã¨ãªããRHELã®ã©ã¤ããµã¤ã¯ã«ç®¡çã®éè¦æ§ã«æ¹ãã¦èªèãããæ¹ãå¤ãã®ã§ã¯ãªãã§ããããï¼ãã¦ãæ¬ããã°è¨äºã§ã¯ãRHELã®ãããé©ç¨ãAnsibleã¨Satelliteã使ã£ã¦èªååãâ¦
転ã°ã¬å ã®...ãããé©ç¨ï¼ IT ãµã¼ãã¹ç¨¼åçã®æ大å㨠RHEL ã®ããã管ç
çããããã«ã¡ã¯ãRed Hat ã®å²¡éã§ãã ä»åã¯ãéç¨é¢ããè¦ãã·ã¹ãã 稼åçã®æ大å㨠RHEL ã®ãããé©ç¨ã«ã¤ãã¦èãã¦ã¿ããã¨æãã¾ããå®ã¯æè¿ãã»ãã¥ãªãã£ã«å¯¾ããæèã®é«ã¾ããèæ¯ã«ããRHEL ã®ããã管çããããããã ãã©ãã¨ããåãåâ¦
çæ§ã¯Event-Driven Ansible(以ä¸EDA)ããåç¥ã§ããããï¼é常ã®Ansibleã§ã¯äººãPlaybookãã³ãã³ãã©ã¤ã³ãAutomation Controllerããå®è¡ãã¾ããä¸æ¹ã§ãEDAã§ã¯ä»ã®ã½ããã¦ã§ã¢ï¼ç£è¦ã·ã¹ãã çï¼ããã¡ãã»ã¼ã¸ãååãããã®ã¡ãã»ã¼ã¸ã®å 容ã«å¿ãâ¦
çããããã«ã¡ã¯ãRed Hat ã®å²¡éã§ãã åå Event-Driven Ansible ã®ã試ãæ¹æ³ã«ã¤ãã¦ãç´¹ä»ããã¦ããã ãã¾ããããä»åã¯ä¸æ©è¸ã¿è¾¼ãã§ããµã¼ããã¼ãã£è£½ã®ã¢ããªã±ã¼ã·ã§ã³ã¨é£æºããåä½ã«ã¤ãã¦ãç´¹ä»ãã¾ãã Event-Driven Ansible (EDA) ã¯ä»¥â¦
çããããã«ã¡ã¯ãRed Hat ã®å²¡éã§ãã ååã®ãAnsible Lightspeed ã®å§ãæ¹ãã«å¼ãç¶ããAAP 2.4 ã®ãã 1 ã¤ã®æ³¨ç®ã®æ°æ©è½ãEvent-Driven Ansible (EDA) ã®ã試ãæ¹æ³ã«ã¤ãã¦ãç´¹ä»ãããã¨æãã¾ããEDA ãå©ç¨ãããã¨ã«ãããIT éç¨ã«ããã¦çºçâ¦
çããããã«ã¡ã¯ãRed Hat ã½ãªã¥ã¼ã·ã§ã³ã¢ã¼ããã¯ãã®å²¡éã§ãã2024 å¹´ãå§ã¾ãã¾ããããä»å¹´ãããããã® Ansible Automation Platform é¢é£ã®æ å ±ããå±ãã§ããã°ã¨èãã¦ãã¾ããæ¯éãä»ãåããã ããã ãã¦ãæ¨å¹´æ«ãã¡ãã§äºåããã¦ããã ãâ¦
ã¿ãªããã¡ãªã¼ã¯ãªã¹ãã¹! Red Hatã®ããã¨ã(@saito_hideki)ã§ãã ãã®è¨äºã¯ï½¤Ansible Advent Calendar/Red Hat Advent Calendarã®2023å¹´æçµæ¥ã®è¨äºã§ãã ããæ°å¹´ãAnsible Advent Calendar/Red Hat Adivent Calendarã§ã¯ãæçµæ¥ã«ç¿å¹´ã®Ansibleããâ¦
çããããã«ã¡ã¯ãRed Hat ã½ãªã¥ã¼ã·ã§ã³ã¢ã¼ããã¯ãã®å²¡éã§ãã 2023 å¹´ãæ®ãã¨ãããã¨å°ãã¨ãªãã¾ããããã¦ãä»åã¯ã注ç®ã®æ°æ©è½ããµãã¼ãããä»å¹´GAã¨ãªã£ã Ansible Automation Platform 2.4 ã«ã¤ãã¦ã2023 å¹´ã®ç· ããããã¨ãã¦æ¸ãã¦ããâ¦
ãã®è¨äºã¯ããRed Hat Advent Calendar 2023ã20æ¥ç®ã®è¨äºã§ãã Windowsã®æååãåé¡ Ansibleã§Windowsãã¼ãã管çãã¦ããã¨ãç¹ã«win_shellã¢ã¸ã¥ã¼ã«ã§ã³ãã³ããå®è¡ããéãªã©ã®å®è¡çµæãæææååããã¦ãã¾ãã±ã¼ã¹ãããã¾ãããããªã£ã¦ãâ¦
Red Hatã®ããããã§ããRed Hat Tech Night 2023éå¶ãã¼ã ããã®ç±çãªèª¬å¾ãã¨ãä¾é ¼ãåããååã«ç¶ããå é±10/11ã«è¡ãããRed Hat Tech Nightã®ãã¤ã©ã¤ãããä¼ããã¾ãã Red Hat Tech Nightã¨ã¯ Red Hat Forum 2018ï¼ãã®å¾æ¨å¹´ããRed Hat Summitâ¦
ã¬ãããããã®ææã§ããAnsible ã®ãã¯ãã«ã«ãµãã¼ãããã¦ãã¾ãã RHEL ã®è¨å®å¤æ´ã Ansible ãã容æã«ã§ããããã«ããããã® RHEL System Roles ã«ã¤ãã¦ã以åã®ããã°ã§ç´¹ä»ããã¦ãã¾ããã rheb.hatenablog.com Ansible Automation Platform ãâ¦
ã¿ãªããã¡ãªã¼ã¯ãªã¹ãã¹ãRed Hatã®ããã¨ãã§ããä¾å¹´ã«ãªãéããªã¯ãªã¹ãã¹ãéããªããããã®Ansible Advent Calendaræçµæ¥12æ25æ¥ã®è¨äºãæ¸ãã¦ãã¾ãã 2022å¹´ãAnsibleçéã§ã¯å¤§ããªåããããã¤ãããã¾ãããå人çã«ã¯ã³ã³ããå®è¡ç°å¢ã¨Priâ¦
ã¬ãããããã®ææã§ããAnsible ã®ãã¯ãã«ã«ãµãã¼ãããã¦ãã¾ãã ãã®è¨äºã¯ Ansible Advent Calendar 2022 ã®9æ¥ç®ã®è¨äºã§ãã adventar.org Ansible Automation Platform (AAP) ã¯æ¯è¼ç足ã®éã製åã§ãé »ç¹ã«æ°ãããªãªã¼ã¹ãåºãã¦ãã¾ãããªãªâ¦
ã¬ããããã ã½ãªã¥ã¼ã·ã§ã³ã¢ã¼ããã¯ãç³åã§ãã ããã§ã¯ã RHEL System Roles ã«ã¤ãã¦ç´¹ä»ããã¾ãã ã·ã¹ãã é¢é£ã®ä½æ¥ã§ããµã¼ãã«ãã°ã¤ã³ãã¦æ§ç¯ä½æ¥ãå®æ½ãããããã°ã¤ã³ãã¦ãããé©ç¨ãè¨å®ãã¡ã¤ã«ã®å¤æ´ä½æ¥ãªã©ãå®æ½ãããã¨ã¯æ¥å¸¸çâ¦
ã¬ãããããã®ææã§ããAnsible ã®ãã¯ãã«ã«ãµãã¼ãããã¦ãã¾ãã ä»åã¯ä»¥åã®ãåãåããããã ããäºä¾ãããSSH (Secure Shell Protocol) ã«ã¤ãã¦ä¸ã¤ç´¹ä»ãããã¨æãã¾ããAnsible 㯠Linux ãµã¼ããå¶å¾¡å¯¾è±¡ã¨ããã¨ã㯠SSH ã§æ¥ç¶ãã¦å¦çãâ¦
ã¬ãããããã®ææã§ããAnsible ã®ãã¯ãã«ã«ãµãã¼ãããã¦ãã¾ãã ãã¯ãã«ã«ãµãã¼ãã¯åæ¥ç¥æ¥å¹´æ«å¹´å§ã¯å ¨å¡ä¼ã¿ã¨ããããã«ã¯ããããå¹³æ¥ããã¯å°ãªãä½å¶ã§åãåããã«å¯¾å¿ããããã«ãã¦ãã¾ããä»åã®åæ¥ã¯å½çªã«ãªãã¾ããã空ãæéãã§ãâ¦
ã¬ãããããã®ææã§ããAnsible ã®ãã¯ãã«ã«ãµãã¼ãããã¦ãã¾ãã å ã»ã©ãOpenShift ã§ã®åé¡è§£æã®ããã®ã³ãã³ããç´¹ä»ããè¨äºãæ²è¼ããã¾ããã rheb.hatenablog.com Ansible Automation Platform (AAP) ã OpenShift ã§åä½ãã¾ãã¦ã以å Operaâ¦
ã½ãªã¥ã¼ã·ã§ã³ã¢ã¼ããã¯ãã®ç¬æ¸ã§ãã ç´è¿ã¨ãªãã¾ãããOpen Hybrid Cloud Week 2022ã6æ14æ¥(ç«)ã 17æ¥(é)ã« ãªã³ã©ã¤ã³ã¤ãã³ãã¨ãã¦éå¬ããã¾ãã 大ããåãã¦åå2æ¥ãã»ãã·ã§ã³ãå¾å2æ¥ããã³ãºãªã³ã¨ãªã£ã¦ããã¾ãã ohc.redhat-event.câ¦
ã¬ãããããã®ææã§ããAnsible ã®ãã¯ãã«ã«ãµãã¼ãããã¦ãã¾ããæ¯æ1ã¤ã¯ä½ãæ¸ããã¨ãç®æ¨ã«ãã¦ãã¾ãã5æããã£ã¨ããéã«å»ã£ã¦ãã¾ãã¾ãã¦ã5æ34æ¥(6æ3æ¥) ã¨ãããã¨ã«ããã¦ãã ããã ããã¾ã§2åã«åãã¾ãã¦ãAnsible ã§æ±ãå¤æ°ã«ã¤â¦
ã¬ãããããã®ææã§ããAnsible ã®ãã¯ãã«ã«ãµãã¼ãããã¦ãã¾ããæ¯æ1ã¤ã¯ä½ãæ¸ããã¨ãç®æ¨ã«ãã¦ãã¾ãã3æåã¯3æ38æ¥(4æ7æ¥ã§ãã)ã«ãªã£ã¦ãã¾ãã¾ãããã4æã¯ä½ã¨ãæ»ãè¾¼ã¿ã§ãã¾ããã ååã¯å¤æ°ã®åºæ¬çãªã¨ãããç´¹ä»ãã¾ããã rheb.â¦
ã¬ãããããã®ææã§ããAnsible ã®ãã¯ãã«ã«ãµãã¼ãããã¦ãã¾ããæ¯æ1ã¤ã¯ä½ãæ¸ããã¨ãç®æ¨ã«ãã¦ããã®ã§ããã3æããã£ã¨ããéã«å»ã£ã¦ãã¾ãã¾ããã ä»åã¯ãã¾ã«ãåãåããããã ãå¤æ°ã«ã¤ãã¦ç´¹ä»ãã¦ã¿ããã¨æãã¾ããAnsible ã®ãã¼ã¸â¦
çããããã«ã¡ã¯ãRed Hat ã½ãªã¥ã¼ã·ã§ã³ã¢ã¼ããã¯ãã®å²¡éã§ãã åå㧠AAP2.1 ã¸ã®ç§»è¡ã®èãæ¹ã¨ææ³ã«ã¤ãã¦ãç´¹ä»ãã¾ãããä»åãIsolated Node ã®ç§»è¡ã«ã¤ãã¦ã説æãã¾ããAutomation Controller ããç´æ¥ã¢ã¯ã»ã¹ã§ããªããã¹ãã«å¯¾ããã¸ã§ãâ¦
çããããã«ã¡ã¯ãRed Hat ã½ãªã¥ã¼ã·ã§ã³ã¢ã¼ããã¯ãã®å²¡éã§ãã åå㯠AAP2.1 ã®å¤§ããªå¤æ´ç¹ã§ããã³ã³ããåãããå®è¡ç°å¢ã¨ãAnsible Automation Controller ã«ããå®è¡æ¹æ³ã«ã¤ãã¦ã説æãã¾ãããä»åãansible-navigator ã®ã説æããããï¼ã¨â¦
ã¬ãããããã®ææã§ããAnsible ã®ãã¯ãã«ã«ãµãã¼ãããã¦ãã¾ããæ¯æ1ã¤ã¯ä½ãæ¸ããã¨ãç®æ¨ã«ãã¦ãã¾ãã ããããªãã2æã¯ãã£ã¨ããéã«éãã¦ãã¾ãã28æ¥ã«ãªã£ã¦ãã¾ãã¾ãããä»æã¯KCS (Knowledge Centered Service) ã«ã¤ãã¦ç´¹ä»ãããã¨â¦
çããããã«ã¡ã¯ãRed Hat ã½ãªã¥ã¼ã·ã§ã³ã¢ã¼ããã¯ãã®å²¡éã§ãã ã¡ã¤ã³ã®ä»äºã¯ãã¼ããã¼ãæ å½ãã SA ãªã®ã§ããããAnsible 大好ãã ãå ¬è¨ãã¦ããã®ã§ãé¢é£ããä»äºã¯è¯ããã£ã¦ãã¾ãã é·ãã赤帽ã¨ã³ã¸ãã¢ããã°ãæ¸ãã¦ãã¾ããã§ãããçâ¦
ã¬ãããããã®ææã§ããAnsible ã®ãã¯ãã«ã«ãµãã¼ãããã¦ãã¾ãã Ansible Automation Platform ã¯æ§ Ansible Tower ã®æ代ãããOpenShift ã§ã®åä½ããµãã¼ããã¦ãã¾ããããã¾ã§ãèªå® ã§è©¦ãã¦ã¿ããã¨ããè¨äºãããã¾ã§ãä½åº¦ãæ¸ãã¦ãã¾ããã â¦