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

sphinxからAnsible Playbookを読み込む

shirou
July 29, 2016

sphinxからAnsible Playbookを読み込む

shirou

July 29, 2016
Tweet

More Decks by shirou

Other Decks in Technology

Transcript

  1. Ansible Playbookͷྫ - hosts: web tasks: - name: apacheΛΠϯετʔϧ yum:

    name=apache state=installed - name: PHPΛΠϯετʔϧ yum: name=php state=installed - name: php.iniͷઃఆ template: src=php.ini dest=/etc/php.ini - name: ΞϓϦΛσϓϩΠ copy: src=info.php dest=/var/www/html/info.php
 - name: httpdΛىಈ service: name=httpd state=started task
  2. ࣮ྫ EFGEVNQT PCK FOTVSF@BTDJJ5SVF  4FSJBMJ[FAAPCKAAUPB+40/
 QBSBNEJDUPCKEJDUUZQFPCKFDUUPTFSJBMJ[F QBSBNCPPMFOTVSF@BTDJJ%FGBVMUJT5SVF*G 'BMTF BMMOPO"4$**DIBSBDUFSTBSFOPU

    SFUVSO+40/GPSNBUUFETUSJOH SUZQFTUS  SFUVSOUPCFJNQMFNFOUFE BVUPTVNNBSZ UPDUSFFHFOFSBUFE VUJMT  QZUIPO EPDTUSJOH 4QIJOY
  3. IPTUTXFC UBTLT OBNFBQBDIFΛΠϯετʔϧ ZVNOBNFBQBDIFTUBUFJOTUBMMFE OBNF1)1ΛΠϯετʔϧ ZVNOBNFQIQTUBUFJOTUBMMFE OBNFΞϓϦΛ഑ஔ DPQZ TSDJOGPQIQEFTUWBSXXX IUNMJOGPQIQ

    ࠓճͷΞϓϦέʔγϣϯ͸ QIQϑΝΠϧΛର৅ϗετʹஔ͘͜ ͱͰσϓϩΠ͠·͢ɻ BOTJCMFBVUPUBTLΞϓϦΛ഑ஔ QMBZCPPLBOTJCMFXFCZNM BOTJCMFQMBZCPPL 4QIJOY