From 205f9f345415ef6f1e1f989727a6ed0ea970303b Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Tue, 3 Feb 2015 20:57:34 -0500 Subject: [PATCH] Add config file and inventory file --- ch01/playbooks/ansible.cfg | 4 ++++ ch01/playbooks/inventory | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 ch01/playbooks/ansible.cfg diff --git a/ch01/playbooks/ansible.cfg b/ch01/playbooks/ansible.cfg new file mode 100644 index 0000000..1aa0959 --- /dev/null +++ b/ch01/playbooks/ansible.cfg @@ -0,0 +1,4 @@ +[defaults] +hostfile = inventory +remote_user = vagrant +private_key_file = .vagrant/machines/default/virtualbox/private_key diff --git a/ch01/playbooks/inventory b/ch01/playbooks/inventory index dc271d2..23c16b4 100644 --- a/ch01/playbooks/inventory +++ b/ch01/playbooks/inventory @@ -1 +1 @@ -testserver ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222 ansible_ssh_user=vagrant ansible_ssh_private_key_file=.vagrant/machines/default/virtualbox/private_key +testserver ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222 -- 2.44.0