You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Ansible Docker Connection Pluginã使ã¶ 1年以ä¸åã®2014å¹´4æã«ãããªè¨äºãæ¸ãã¾ãã docker containerã«å¯¾ãã¦ç´æ¥ansibleãå®è¡ãã ãããããããããã£ã¦ãAnsible 2.0ã§ã¯æ¨æºã§Docker Connection Pluginãå ¥ã£ã¦ãã¾ãã(ã¨ãã£ã¦ãã¼ãã®å®è£ ã§ã¯ããã¾ããã) Docker Connection Pluginã¨ã¯Â¶ ã¾ãã Connection Plugin ã«ã¤ãã¦èª¬æãã¾ããAnsibleã§ã¯é常SSHã使ã£ã¦å¯¾è±¡ã¨ãªããã¹ãã«æ¥ç¶ãã¾ãã ãããã Connection Plugin ã使ããã¨ã§ãæ¥ç¶æ¹å¼ãåãæ¿ãããã¨ãã§ãã¾ãã 代表çãªãã®ã¯ local connection ã§ãã以ä¸ã®ããã«æ¸ãã¨ãsshã§ã¯ãªããlocalhostã§ãã®ã¾ã¾å®è¡ããã¾ããsshã®localho
ãã·ã¢ã®æ²ç¤ºæ¿ã«åºã¦ãããè·å ´ã§ã®å°ããªãã¨ããªãã§ãèªååãã¦ããããã«ã¼ã®è©±ãè±èªã«ç¿»è¨³ãããHacker Newsçã§è©±é¡ã«ãªã£ã¦ãã¾ãã xxx(ãã³ãã«å): ãªã¼ã±ã¼ããã«ãæ å½ã¨ã³ã¸ãã¢ã転è·ã§è¾ãã¡ã¾ã£ããæ¬å½ã«ã¿ã¼ããã«ã«ä½ãã§ããããªãã¤ã ã£ãããããã ããVimã大好ãã§ã.dotãã¡ã¤ã«ã§å³ãæãã¦ãMarkdownã§wikiã«æç¨¿ãããããªã¿ã¤ãã⦠ããä½ããããä½ã§ãã90ç§ä»¥ä¸æãããããªãã¨ããã£ãããã¹ã¯ãªããã§èªååãã¡ãããã ã xxx: ããããããã§æã ã¯ããã«ãã¦ãå½¼ã®ãããããéºç£ããè¦ã¦ãã¨ããã ã xxx: ãã£ã¨æ°ã«å ¥ãã¨æããã xxx: smack-my-bitch-up.sh(ã¢ããºã¬ããã°ã.sh) - ãé ããªããã¨ããSMSãå½¼ã®å¦»(ãæãã¦ãã®ã¯æããã ãã)ã«éããæååã®é åããã©ã³ãã ã«çç±ãé¸ã¶ãcronã¸ã§ãã§å
ã¯ããã« é´æ¨ããã®ãã§ãã ååã«å¼ãç¶ãPythonã¨ã³ã¸ãã¢é¤æèªæ¬ã¨ããæ¸ç±ã®èªæ¸ä¼ã¤ãã³ãã«ã¤ãã¦ã¬ãã¼ããã¾ãã ä»åãæçµåã¨ãªã第5åã®èªæ¸ä¼ã¯9æ17æ¥(æ¨)ã«ã¢ã©ã¤ãã¢ã¼ããã¯ãæ ªå¼ä¼ç¤¾ã®ä¼è°å®¤ã§éå¬ããã¾ããã 彿¥ã¯ã ããã以ä¸ã®ã¿ã¤ã ãã¼ãã«ã§é²ãã¾ããã 19:00-19:15ãåå è ã®èªå·±ç´¹ä» 19:15-20:50ããâ 第6ç« ç°å¢æ§ç¯ã®èªååã 20:50-21:00ããâ Appendix 2 æ´»èºã®å ´ãåºããPythonã 21:00-22:00ããã¢ããã·ã¥ï¼ãã¼ã«ã¨ãã¶ã§ã®åå è æè¦ªä¼ï¼ ä»åãä»ã¾ã§ã¨åæ§ã«æ¸ç±ã®èªã¿ãããã¯ãããè£è¶³æ å ±ã質çå¿çãä¸å¿ã«è§£èª¬ãè¡ãã¾ããã èªå·±ç´¹ä» æåã«åå è ã®èªå·±ç´¹ä»ã§ãããã®èªæ¸ä¼ã®3æ¥åã«éå¬ãããAnsible Meetup in Tokyo 2015.09ã«åå ãã¦ã仿¥ã¯éã話ãèããããªã¨æã£ã¦å
ããã«ã¡ã¯ãCTOã®é¦¬å ´ã§ãã ã¿ããªå¤§å¥½ãFabricã®Tipsã§ãã Welcome to Fabric! -- Fabric documentation ãããããã¤ãã¼ã«ã¨ãã¦ç´¹ä»ããã¾ããã èªååã®ããã®Python+SSH+ã³ãã³ãå®è¡ãã¬ã¼ã ã¯ã¼ã¯ã¨ãã¦æè»ã«ä½¿ãã¦è¶ 便å©ã§ãã åºæ¬çã«ã¯ æå ã§ã®ã³ãã³ãå®è¡ SSHããã®ãªã¢ã¼ããµã¼ãã§ã®ã³ãã³ãå®è¡ SSHããã®ãªã¢ã¼ããµã¼ãã§sudoãã¦ã³ãã³ãå®è¡ ãã§ãããã¼ã«ãªã®ã§ãããä½¿ãæ¹ã®ä¾ãç´¹ä»ãã¾ãã ééããªã©ããã°ãè¿ãã®ãã¼ããã¼ã社å¡ã @netmarkjp ã«æãã¦ããã ããã¨å¬ããã§ãã Python 2.7.10 + Fabric 1.10.2 + Paramiko 1.15.2ã§åä½ç¢ºèªãã¾ããã è¤æ°ã®ãµã¼ãã«å¯¾ãã¦åãã¦ã¼ã¶ã»ãã¹ã¯ã¼ãã§ãã°ã¤ã³ãã ã¦ã¼ã¶åããã¹ã¯ã¼ãã䏿¬æå®ã§ãã¾ãã éµèª
è¿å¹´ãChefãPuppetãªã©ã®æ§æç®¡çãã¼ã«ã人æ°ã ããæ°ãã«æ³¨ç®ããã¤ã¤ããæ§æç®¡çãã¼ã«ã¨ãã¦ãAnsibleãããããAnsibleã¯è¨å®ãã¡ã¤ã«ãã·ã³ãã«ã§ã管ç対象ãµã¼ãã¼ã«ç¹å¥ãªã½ããã¦ã§ã¢ãã¤ã³ã¹ãã¼ã«ãããã¨ãªãå©ç¨ã§ãããªã©ãæå°éã®æéã§å種è¨å®ãèªååã§ããã®ãç¹å¾´ã ãä»åã¯ãã®Ansibleã«ã¤ãã¦ãã®åºæ¬çãªä½¿ãæ¹ãç´¹ä»ããã å°è¦æ¨¡ãªç°å¢ã§ãæè»½ã«ä½¿ããAnsible ãããããç¨æãã¦ãããè¨å®ãã¡ã¤ã«ã«å¾ã£ã¦ãã½ããã¦ã§ã¢ã®ã¤ã³ã¹ãã¼ã«ãè¨å®ãã¡ã¤ã«ã®ä¿®æ£ããµã¼ãã¹ã®èµ·å/忢ããããã¯ã¼ã¯è¨å®ã¨ãã£ããµã¼ãã¼ã®å種è¨å®ãèªåçã«å®è¡ããã½ããã¦ã§ã¢ãæ§æç®¡çãã¼ã«ã¨å¼ã¶ã代表çãªãã®ã¨ãã¦ã¯ããããã®ãã¬ãã¸ã§ãéå»ã«åãä¸ãã¦ããChefãPuppetãããã é¢é£è¨äºï¼ ãµã¼ãã¼è¨å®ãã¼ã«ãChefãå¿ç¨ç·¨ï¼knife-soloã¨Data Bagã
Ansible 㨠Mackerel API ãçµã¿åããã¦ã1000å°è¦æ¨¡ã®ãµã¼ã群ã«å¯¾ãã¦åæã«ããã±ã¼ã¸ã®æ´æ°ããã®ä»ã®ãµã¼ããªãã¬ã¼ã·ã§ã³ã®ããã®æ¹æ³ãç´¹ä»ãã¾ãã ã¿ã¤ãã«ã« Mackerel ã¨ããã¾ãããããã»ã© Mackerel ã«ä¾åããªã話ã§ãã (Ansibleã¨Dockerã«ãã1000å°åæSSHãªãã¬ã¼ã·ã§ã³ç°å¢ - ããããããã°ã«ç¶ç·¨ãæ¸ãã¦ãã¾ãã) èæ¯ 社å ã§ã¯ããµã¼ãæ§æç®¡çãã¼ã«ã¨ã㦠Chef ã使ç¨ãã¦ãã¾ãã Chef Server ã¯éç¨ã大å¤ãªã®ã§ä½¿ç¨ãã¦ããããknife-solo 㨠Mackerel APIãçµã¿åããã¦ãã¹ã㨠Chef role ã¨ã®ãããã³ã°ã« Mackerel ã®ãã¼ã«æ å ±ãç¨ãã¦ãã¾ãã ã¾ããMackerel ã® Ruby ã¯ã©ã¤ã¢ã³ããå©ç¨ã㦠recipe å ã§ API ãå©ãã¦ãMackerel ã
ãã®ãããé ãã¬ãã¼ãã§ãããå æ¥ããããµãåå¼·ä¼ã㨠ããã¿jp ããã¿jpã®#ssmjp 2014/06 ã«åå ããã¦é ãã¾ããã ãã®ä¸ã§ã@togakushiããã®çºè¡¨ãOpenSSH User EnumerationTime-Based Attack 㨠Python-paramikoããé¢ç½ãã£ãã®ã§ãã®ã¡ã¢ã§ãã osuetaã¨ã¯ä½ã OpenSSHã§ã¯ããã¹ã¯ã¼ãèªè¨¼ã®éã«é·ãæåå(ç®å®ã§æ°ä¸æå)ãä¸ããã¨ãåå¨ããã¦ã¼ã¶ã¨åå¨ããªãã¦ã¼ã¶ã®å ´åã§å¿çé度ãå¤ãã£ã¦ãã¾ããç°å¢ã«ãããã®æéå·®ã¯çµæ§éãããã§ãããç§ã®è©¦ããç¯å²ã§ã¯ã åå¨ããã¦ã¼ã¶ã®å ´åã¯æ°åç§ åå¨ããªãã¦ã¼ã¶ã®å ´åã¯æ°ç§ ã§å¿çãè¿ãã¾ãã(ãã®å¿çé度ã¯ç®å®ã§ãããã¡ãããã·ã³ã¹ããã¯ã«ãã£ã¦éãã§ããã)ãããã«ãããè¤æ°ã®ã¦ã¼ã¶ã§sshãã°ã¤ã³è©¦è¡ããããªãããã®å¿çæéãè¨æ¸¬ãããã¨ã§ã¦ã¼
1å¹´ãããchefã使ã£ã¦ãµã¼ãæ§ç¯ããã¦ããã®ã§ãããæè¿ansibleã«ä¹ãæããã®ã§ç´¹ä»è¨äºãæ¸ãã¦ã¿ã¾ã 1. ãµã¼ãå´ã«ä½ãã¤ã³ã¹ãã¼ã«ããå¿ è¦ããªã chefã¯ç®¡ç対象ãã¼ãã«chef-clientãã¤ã³ã¹ãã¼ã«ããå¿ è¦ãããã¾ãããansibleã¯Python 2.4ãå ¥ã£ã¦ãã¦ãsshã§ãã°ã¤ã³ã§ããã°OKã§ãã chefãããã±ã¼ã¸ã,knife bootstrapã³ãã³ãçãããã®ã§å§ããããã§ãããä½ãããå¿ è¦ããªãansibleã®æ¹ãæ·å± ãä½ãã®ããªã¨æã£ã¦ã¾ãã ä¾ãã°sshã§ãã°ã¤ã³ã§ããã°ã以ä¸ã®ã³ãã³ããæã¦ã°10.0.10.1ï½10.0.10.3ãµã¼ãã®æ å ±ãã¨ã£ã¦ããã¾ã(ã«ã¼ãã«ãã¼ã¸ã§ã³,CPU,ã¡ã¢ãª,ãã£ã¹ã¯ãµã¤ãº,ãã£ã¹ããªãã¥ã¼ã·ã§ã³ç)ã ãã®æ©è½ã¯chefã§ä½¿ããã¦ããohaiç¸å½ã®ãã¨ããã¦ããã¾ãã echo 10.0.10.1 >
ãããã®VPSã«ã¢ã¿ãã¯ãã¦ãã人ãã¡ããããã¼ããããªã©ä½¿ããªãããã®è¡åã観å¯ããè¨é²ã§ããè¦³å¯æ¥è¨ã ä»åã®ãã¿ã¯ä»¥ä¸2ã¤ã§ãã ï¼SSH honeypot(Kippo)ã使ã£ãæªã人ã®è¡å観å¯ãã¢ã³ã±ã¼ã ï¼/cgi-bin/php (Apache Magicaæ»æ)ã®è¦³å¯ ãªããã®ã¹ã©ã¤ãã¯ã2013å¹´12æ7æ¥ã®Security Casual Talks(ãã¿ã ã»ãã¥ãªãã£åå¼·ä¼)ã§ã®çºè¡¨è³æã§ãã http://ozuma.sakura.ne.jp/sumida/ ã¾ãã¹ã©ã¤ãä¸ãåç»ã¯ä»¥ä¸ã®URLã§é²è¦§ã§ãã¾ã http://youtu.be/gp3SBjZNWHU
Ansible ã¨ãããµã¼ãã¼ã®è¨å®ã管çãããã¼ã«ã®èª¬æãããããæ§æç®¡ç (CM: Configuration Management) ã«ã«ãã´ã©ã¤ãºããããã®ã§ãPuppet ã Chef ã®è¦ªæã¿ãããªãã®ã¨èãã¦ããããã°ã ããããã£ã¦ãã æ¦è¦ ãªã¼ãéçºè 㯠Michael DeHaan ã§ãç¾è·ã® AnsibleWorks ã®å㯠Redhat ã§ Cobbler ã Func ã«æºãã£ã¦ããããPuppet labs ã§ãããã¯ãããã¼ã¸ã£ã¼ããããã¦ããã¨ããçµæ´ã®æã¡ä¸»ã Ansible 㯠Python ã§æ¸ããã¦ãããåãã¸ã£ã³ã«ã§ Python 製ã¨ãã㨠Salt ãæåãChef ã®å ´åãã¬ã·ããæ¸ãããã«ã¯ Ruby ã®ç¥èãå¿ è¦ã¨ãªã£ã¦ãããã©ãAnsible ã¯ã©ããªè¨èªã§ãã¢ã¸ã¥ã¼ã«ãæ¸ããããã«ãªã£ã¦ããã®ã§ãéç¨ã«ããã£ã¦ Python ã®ç¥èã¯
ã¯ããã¦Ansibleã使ã人ãç¥ã£ã¦ãããã7ã¤ã®ã¢ã¸ã¥ã¼ã« ããã«ã¡ã¯ãmakiã§ãã å ææå¹ã§éå¬ããPHP Matsuri 2013 ã§ã¯ãAnsibleã«ã¤ã㦠LT çºè¡¨ãã¦ãã¾ããã çºè¡¨ã¹ã©ã¤ãã¯Slideshareã«ããã¦ããã¾ãã Ansibleã¨ã¯ æ§æç®¡çãã¼ã«(ChefãPuppetçã¨åã) playbookã¨ããèæ¬ãã¡ã¤ã«(Chefã§ããrecipe)ã«ãããããã¨ãyamlå½¢å¼ã§æ¸ãã¦å®è¡ããã ã å¥ã«Vagrantã¨ã®é¢ä¿ãå¿ é ãããªã vagrant provisionãããansible-playbookãåä½å®è¡ã®ã»ãã便å©ãªãã¨ãå¤ã READMEã«ã¯è¨è¨ææ³ã¨ãã¦ãã®ããã«æ¸ããã¦ãã¾ãã ã¨ã£ã¦ãã·ã³ãã«ãªã»ããã¢ãã ããã©ã«ãã§è¶ éãã¦ä¸¦åå¦çãã§ãã ãµã¼ãã¼ããã¼ã¢ã³ããããªããsshdã ã ã¯ã©ã¤ã¢ã³ãã®boxã«è¿½å ã§å¿ è¦ãªãã®ãª
ãChef! Chef!ãã¨å«ã°ããæ¨ä»ããã®Chefã«æ«æããçæ§ãããããéããã§ããããï¼ Chefã«æ«æä¸ã®id:k1LoWã§ãã AnsibleããããAnsibleã Chefã«æ«æããããã¨ãã£ã¦ãããã¸ã§ãã³ã°ãã¼ã«ã¸ã®æ§ãã¯æ¶ããããããªããæéãè¦ã¤ãã¦ã¯ããããããã£ã¦ããæã ååããã®ãAnsibleã¨ãããã¼ã«ãè¯ããããããã¨ããæ å ±ããã®ã¾ã¾éµåã¿ã«ããPHP Matsuri 2013ãéãã¦ä½¿ã£ã¦ã¿ã¦ä»ã«è³ã£ã¦ãã¾ãã AnsibleããããAnsibleã Ansibleã¯Python製ã®ãããã¸ã§ãã³ã°ãã¼ã«ã§ããChefãPuppetã¨åãé åã®ãã¼ã«ã§ããã ã¡ãªã¿ã«ãå¼ã³æ¹ã¯ãæ¥æ¬èªè±èªçã«ããããã¼ããã§ããããããã¼ããã§ããããããã¼ããã§ãããã¾ãããPHP Matsuri 2013ã§Vagrantã®Mitchell Hashimotoã
ã¯ããã« ããã«ã¡ã¯ãPythonçã®æ å¼±ã§ããæè¿ã¯ã¿ãªããPythonã§Webãµã¼ãã¹ãã´ãªã´ãªã¨ä½ã£ã¡ãã£ã¦ã¦ã¨ã¦ããã£ããããªã¼ã¨æãã¤ã¤ãã³ã½ã³ã½ã¨ãã¼ã«ãä½ãæ¯æ¥ãéããã¦ãã¾ããåããããªæ§æã®ãã·ã³ããããããã£ãã¨ãã«ããã¡ãã¡SSHãã°ã¤ã³ãã¦ä½æ¥ããã®é¢åã ãªã¼ã¨ãæã£ã¦ã¦ããã¨ãã£ã¦ãèªåã§socketéä¿¡ã®ããã°ã©ã æ¸ãã®ã¯ãã¤ãã®ã§ã©ã¤ãã©ãªä½¿ããã¨ã«ãã¾ããã Paramikoã«é¢ããè¨äºã°ããåºã¦ãããã§ãããid:mopemope ã¯ããsshã¢ã¸ã¥ã¼ã«ãããããã£ã¦ããæ å ±ãããã£ã¦ãã°ããéãã§ã¿ããããã便å©ã ã£ãã®ã§ãå¿ããªããã¡ã«ã¾ã¨ãã¨ãã¾ãã åç § ssh 1.7.11 : Python Package Index Readmeã«æ¸ãã¦ããããã©ãsshã¯Paramikoã®pure-pythonå®è£ ã§ãã bitprophet/ssh · G
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}