From: Lorin Hochstein Date: Wed, 4 Feb 2015 01:57:34 +0000 (-0500) Subject: Add config file and inventory file X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=205f9f345415ef6f1e1f989727a6ed0ea970303b;p=ansiblebook.git Add config file and inventory file --- 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