mkdir "目錄名稱"

vagrant box add geerlingguy/centos7
vagrant init geerlingguy/centos7

vagrant up
config.vm.provision "ansible" do |ansible|
ansible.playbook = "playbook.yml"
end
---
- hosts: all
become: yes
tasks:
- name: Ensure NTP (for time synchronization) is installed.
yum: name=ntp state=present
- name: Ensure NTP is running.
service: name=ntpd state=started enabled=yes

When you subscribe to the blog, we will send you an e-mail when there are new updates on the site so you wouldn't miss them.
評論 2
英文不是很好,但我覺得 Provisioning 對於實體,可翻成「供裝」;對於服務,可翻成「開通」。
我中文不好 orz