Vagrantã¨Ansibleã§CentOSã®ç°å¢ãç¨æãã¦ã¿ã ã®ç¶ã Ansibleã§ã¨ããããã®LAMPç°å¢ãã¦ã¿ãã ä¸è¨ãã¤ã³ã¹ãã¼ã«ãããã¬ã¤ããã¯ãä½æããã ã»Apacheï¼DocumentRootã¯/vagrantã«å¤æ´ï¼ ã»PHP ã»MySQL5.6 ã»phpMyAdmin $ vi playbook.yml --- - hosts: 127.0.0.1 connection: local sudo: yes vars: mysql_user_name: vagrant mysql_user_password: vagrant tasks: # # Apache # - name: Apacheãã¤ã³ã¹ãã¼ã« yum: name=httpd - name: Apacheãèµ·å service: name=httpd state=started enabled=yes -
{{#tags}}- {{label}}
{{/tags}}