Interact 2018ã§ã話ãããAnsibleã«ããWindowsèªååã®ã»ãã·ã§ã³è³æã§ãã
2. Agenda ๠èªå·±ç´¹ä» ๠æ¬ã»ãã·ã§ã³ã«ã¤ã㦠⢠æ¬ã»ãã·ã§ã³ã®æ±ã対象ã§ãã Ansible ã¨ã¯ä½ãï¼ â¢ æ¬ã»ãã·ã§ã³ã®å¯¾è±¡è ⢠æ¬ã»ãã·ã§ã³ã§è©±ããã¨ã»è©±ããªãã㨠๠Ansibleã使ãåã«æããããªã㨠⢠Ansibleã使ãã¨ä½ãå¬ããã®ãï¼ â¢ ä»ã®é¡ä¼¼ãã¼ã«ã¨ã¯ä½ãéãã®ãï¼ â¢ Ansibleãåããã®ã«å¿ è¦ãªã·ã¹ãã è¦ä»¶ã¯ï¼ ⢠ã©ããªä¼æ¥ãå®éã«ä½¿ã£ã¦ããã®ãï¼ à¹ Ansibleã®åºæ¬çãªä½¿ãæ¹ 13å¹´9æ15æ¥æ¥ææ¥ 3. Agenda ๠èªå·±ç´¹ä» ๠æ¬ã»ãã·ã§ã³ã«ã¤ã㦠⢠æ¬ã»ãã·ã§ã³ã®æ±ã対象ã§ãã Ansible ã¨ã¯ä½ãï¼ â¢ æ¬ã»ãã·ã§ã³ã®å¯¾è±¡è ⢠æ¬ã»ãã·ã§ã³ã§è©±ããã¨ã»è©±ããªãã㨠๠Ansibleã使ãåã«æããããªã㨠⢠Ansibleã使ãã¨ä½ãå¬ããã®ãï¼ â¢ ä»ã®é¡ä¼¼ãã¼ã«ã¨ã¯ä½ãéãã®ãï¼ â¢ Ansib
2013-09-01Chef-soloã¨Ansibleã¨Fabricã試ãã¦ã¿ãã®ã§ææ³ãã¡ã¢ãã©ãããããªã«æ·±ãã¯ä½¿ãè¾¼ãã§ã¯ããªãã ãã®ã¡ã¢ã¯èªåã®è³å ã®èããæ´çããããã®ãã®ã§ã人ã使ããã¨ã«ã¤ãã¦ã©ãããè¨ãã¤ããã¯ãªãã§ãã Chef-soloæ¸ãã¦ã¿ãcookbookã¯ãã¡ããhnakamur/chef-cookbooks hnakamur/chef-repoã¯ãã¯ããã¯ã¯æé ãæ¸ãã®ã§ã¯ãªãã¦çµæãæ¸ãã¨ããã®ãã©ããæ¬è³ªçã«éãã¨ç§ã¯æã£ã¦ãã¾ããæçã®ã¬ã·ãã ã£ã¦æé ãæ¸ãããæ¸çµæãããããã¹ãã¨ããã®ã¯serverspecãåºæ¥ãä»ã¨ãªã£ã¦ã¯ãã¡ãã«ä»»ãã¦ãã¯ãã¯ããã¯ã¯æ¬æ¥æé ãæ¸ãã¹ããã®ã ã¨æããRubyã®DSLã ãã©çµå±ä¸ããé ã«è©ä¾¡ãããã®ã§ãå®ã¯æç¶ããæ¸ãã¦ãããã¨ã«ãªã£ã¦ãããã§ããã¡ã¤ã«åä½ã§ããåå©ç¨ã§ããªãã®ã§ãä¸é¨ã ã使ãããã¨æã£ã¦ã³ãã
2. ã¯ãã㫠⢠æåãã¿ã¤ãã«ã¯ãæ°è»½ã«ãµã¼ãã¼æ§æ管çãâ¦ãã¿ã ããªãã®ã§ããã ⢠ã§ããèªåã管çãã¦ãããµã¼ãã¼ã¯Subversionãªã©é çºã®è£å©ã®ããã®æ°å°ã®ãµã¼ãã¼ã ããªã®ã§ãã©ããã ïµï¼ïï¼ïï¡ â¢ ã¨ããè¨èãéããã£ãã®ã§å¤ãã¾ããã ⢠ãã®çºè¡¨ã§ã¯ãèªåãAnsibleã使ãããã«ãªã£ãçµç·¯ã 話ãã¦ãããå®éã«Ansibleãåããã¨ãããè¦ã¦é ãã¾ ãã ⢠ããµã¼ãã¼ã®åãã¡ã¢ãã¯ãã®ãã¡åããã¾ãï¼å¤åï¼ã 4. Ansibleå°å ¥ã¾ã§ï¼Kickstartç·¨ï¼ â¢ ãããªãã°ãKickstartã ã ⢠ãµã¼ãã¼ãæ§ç¯ããæã«ãã©ããã£ã¦æ§ç¯ããããæ®ã ãã¨ãã§ããã®ã§ããµã¼ãã¼æ§ç¯ã¯Kickstartã§èªååã ãããã«ãªãã¾ããã ⢠Kickstartã¯ããµã¼ãã¼ãã¤ãããæ§ç¯ããã¨ãã¯ãããã éç¨ãéå§ãã¦ããè¨å®ãå¤æ´ããæã«å°ãã
11. Task - name: install python homeblew: name=python installs_options={{ option }} state=present 12. Task ã¿ã¹ã¯å(çç¥å¯) - name: install python å¼æ° homeblew: name=python ã¢ã¸ã¥ã¼ã«å installs_options={{ option }} å¤æ° state=present ç¶æ : absent ãæå®ããã¨æ¶ãã (moduleã«ãã) 13. Playbook == Taskã®ã»ãã - hostname: name=AnsibleDemo - apt_repository: repo=âdeb http://â¦.â - apt_key: url=http://â¦.. å®è¡é
Ansible Tutorial July Tech Festa ã«ã¦éå¬ããããã³ãºãªã³ã®è³æãå ¬éããã¦ãããã¨ã«åºæ¿ãããChef ã®ä»£ããã« Ansible ã使ãè³æãä½ãã¾ããã Ansible ã使ã£ã¦ WordPress ãµã¼ãã¼ã®ã»ããã¢ãããè¡ããServerSpec ã§ãã¹ããè¡ãã¾ãã ã¾ã Ansible ã試ãå§ããã°ããã§èªåã®åå¼·ãã¦ãæ¸ãã¦ãã¾ãã Puppet ã«ã Chef ã«ãä¹ãé ããã®ã§ Ansible ã«é£ã³ä¹ã£ã¦ã¿ãããã¨ã GitHub Repository Ansible Tutorial Wiki 2013å¹´08æ13æ¥ ä¸æ®µè½ ã³ããã§åããªãã¨ãããå ¨ä½çã«ä¿®æ£ãã¾ãããä»å¾ã¯ 詳細ãã¼ã¸ Wiki ãå å®ããã¦ããã¾ã 2013å¹´09æ09æ¥ role ã«ã¤ãã¦ã®è¿½è¨ãã¾ãã 2013å¹´12æ22æ¥ ãªãã¥ã¼ã¢ã« Ansible
Infrastructure as Code We manage your infrastructure from your networks security groups to the container orchestrations with versioned code changes and speed up your platform teams service time. We manage your cloud platform from your networks security groups to the container orchestrations with versioned code changes and speed up your platform teams service time. With Infrastructure as Code servi
Ansible ã¨ãããµã¼ãã¼ã®è¨å®ã管çãããã¼ã«ã®èª¬æãããããæ§æ管ç (CM: Configuration Management) ã«ã«ãã´ã©ã¤ãºããããã®ã§ãPuppet ã Chef ã®è¦ªæã¿ãããªãã®ã¨èãã¦ããããã°ã ããããã£ã¦ãã æ¦è¦ ãªã¼ãéçºè 㯠Michael DeHaan ã§ãç¾è·ã® AnsibleWorks ã®å㯠Redhat 㧠Cobbler ã Func ã«æºãã£ã¦ããããPuppet labs ã§ãããã¯ãããã¼ã¸ã£ã¼ããããã¦ããã¨ããçµæ´ã®æã¡ä¸»ã Ansible 㯠Python ã§æ¸ããã¦ãããåãã¸ã£ã³ã«ã§ Python 製ã¨ãã㨠Salt ãæåãChef ã®å ´åãã¬ã·ããæ¸ãããã«ã¯ Ruby ã®ç¥èãå¿ è¦ã¨ãªã£ã¦ãããã©ãAnsible ã¯ã©ããªè¨èªã§ãã¢ã¸ã¥ã¼ã«ãæ¸ããããã«ãªã£ã¦ããã®ã§ãéç¨ã«ããã£ã¦ Python ã®ç¥èã¯
ansibleã使ã£ã¦ã¿ã¶ Chefãççãªå¢ãã§æµè¡ãå§ãã¦ããä»æ¥ãã®ããã§ãããä¼¼ããããªãã®ã¯ ä¸ã®ä¸ã«ããã¤ãããã¾ããä»æ¥ã¯ãã®ä¸ã®ä¸ã¤ã Ansible ã使ã£ã¦ã¿ã¾ãã æ¸ãã¦ããããããã¨é·ããªã£ãã®ã§ä½åãç¶ãã¾ãã 軽ããç´¹ä»Â¶ ã¤ã³ã¹ãã¼ã«ã®åã«ã©ã®ãããªãã¼ã«ãªã®ãã軽ã説æãã¾ãããã·ã³ã®è¨å® ãèªåã§è¡ãªã£ã¦ããããã¨ãããã¼ã«ãªã®ã¯Chefã¨åãã§ãã ãã®ããªã·ã¼ã¯ githubã®ãã¼ã¸ ã«æ¸ããã¦ãã¾ãã ã·ã³ãã«ãªè¨å® æåããè¶ éãã¦ä¸¦å ãµã¼ãã¼ããã¼ã¢ã³ã¨ããããªããä»ããsshdã ãããã°ãã ã¯ã©ã¤ã¢ã³ãå´ã«ãªã«ããããªã ã¢ã¸ã¥ã¼ã«ã¯ãã©ããªãè¨èªã§ãæ¸ãã è¶ å¼·åãªåæ£ã¹ã¯ãªãããæ¸ãããã®ã¤ã±ã¦ãAPI rootãããªãã¦ã便å©ã«ä½¿ãã ä»ã¾ã§ã§ä¸çªä½¿ããè¨å®ç®¡çã·ã¹ãã ãã¦ãã§ã¯è¦ã¦è¡ãã¾ãããã ã¤ã³ã¹ãã¼ã«Â¶ ansibleã¯
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}