local provisioning
authorLorin Hochstein <lhochstein@netflix.com>
Fri, 10 Feb 2017 05:27:21 +0000 (21:27 -0800)
committerLorin Hochstein <lhochstein@netflix.com>
Fri, 10 Feb 2017 05:27:21 +0000 (21:27 -0800)
ch11/playbooks/local/Vagrantfile [new file with mode: 0644]
ch11/playbooks/local/playbook.yml [new file with mode: 0644]

diff --git a/ch11/playbooks/local/Vagrantfile b/ch11/playbooks/local/Vagrantfile
new file mode 100644 (file)
index 0000000..c243738
--- /dev/null
@@ -0,0 +1,13 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+# All Vagrant configuration is done below. The "2" in Vagrant.configure
+# configures the configuration version (we support older styles for
+# backwards compatibility). Please don't change it unless you know what
+# you're doing.
+Vagrant.configure("2") do |config|
+  config.vm.box = "ubuntu/trusty64"
+  config.vm.provision "ansible_local" do |ansible|
+      ansible.playbook = "playbook.yml"
+  end
+end
diff --git a/ch11/playbooks/local/playbook.yml b/ch11/playbooks/local/playbook.yml
new file mode 100644 (file)
index 0000000..e944a3d
--- /dev/null
@@ -0,0 +1,6 @@
+- name: trivial playbook to test vagrant
+  hosts: all
+  gather_facts: False
+  tasks:
+    - name: ping
+      ping: