Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ansibleを使って Dockerコンテナを プロビジョニングする

ansibleを使って Dockerコンテナを プロビジョニングする

in GMO AP Engineer night

adachin0817

August 30, 2016
Tweet

More Decks by adachin0817

Other Decks in Programming

Transcript

  1. ΞδΣϯμ w ࣗݾ঺հ w ࠓ·Ͱͷݕূ؀ڥEPDLFS࢖͏ͱͳʹ͕͍͍ͷ͔ w BOTJCMFͱEPDLFS w EPDLFSDPOOFDUJPOQMVHJOͱ͸ w

    ؀ڥߏங w EPDLFSϗετͷ؂ࢹͱEPDLFSϗετ8FC6*ʹ͍ͭͯ঺հ w σϞ w ·ͱΊ
  2. EPDLFSΛ࢖͏ϝϦοτ w ίϯςφٕज़͕ܰ͗͢Δ w ήετΠϝʔδͷىಈ͕Ұॠ w *1΋ࣗಈͰৼΒΕΔ w Πϯϑϥͷਓ͡Όͳͯ͘΋͙͢ʹߏங͕Ͱ͖Δ w

    αʔόʹ༏͍͠ɺαʔόߏ੒؅ཧ͕؆୯ʹՄࢹԽͰ͖Δ w ֶशίετ͸ͦ͜·Ͱߴ͘ͳ͍ w ٱ͠ͿΓʹWBHSBOUܥͷΠϝʔδΛফͨ͠Β(#΋ݮͬͨ
  3. ϓϩϏδϣχϯά w 
 IPTUTEPDLFS
 CFDPNFZFT
 SFNPUF@VTFSEPDLFS
 UBTLT
 
 OBNFEFQMPZDFOUPTDPOUBJOFS
 EPDLFSJNBHFDFOUPTOBNF-#UFTUQSJWJMFHFEZFTQPSUT

    FYQPTFUUZZFTDPNNBOETCJOJOJU w IPTUT-#UFTU
 DPOOFDUJPOEPDLFS%PDLFS$POOFDUJPO1MVHJO
 
 JODMVEFSPMFTDPNNPOUBTLTZVN@VQEBUFZNM
 UBHTZVN@VQEBUFZNM
 JODMVEFSPMFTDPNNPOUBTLTZVN@SFQPTZNM
 UBHTZVN@SFQPTZNM
 JODMVEFSPMFTDPNNPOUBTLTVTFSZNM
 UBHTDPNNPO
  4. ࣮ߦ w BO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