summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2014-02-01 16:46:51 -0800
committerFranck Cuny <franck.cuny@gmail.com>2014-02-01 16:46:51 -0800
commitc9ba044ea9169460fc3644e179cfdbec30e2219b (patch)
tree7b7e4c308bfdabe9ac2e10a7f61310d6e3bd81da
parentSome rewording. (diff)
downloadlumberjaph-c9ba044ea9169460fc3644e179cfdbec30e2219b.tar.gz
Moving some sentences around.
-rw-r--r--_posts/2014-02-01-provision-an-ec2-instance-with-vagrant-and-ansible.md8
1 files changed, 3 insertions, 5 deletions
diff --git a/_posts/2014-02-01-provision-an-ec2-instance-with-vagrant-and-ansible.md b/_posts/2014-02-01-provision-an-ec2-instance-with-vagrant-and-ansible.md
index bb277a3..25483cb 100644
--- a/_posts/2014-02-01-provision-an-ec2-instance-with-vagrant-and-ansible.md
+++ b/_posts/2014-02-01-provision-an-ec2-instance-with-vagrant-and-ansible.md
@@ -27,7 +27,7 @@ I have a private repository with all my rules for Ansible. But for this post, al
apt: pkg=htop state=installed
```
-What we're saying, is that for all the hosts in our inventory we will use `sudo` to install the program `htop` using `apt-get` (yes, I assume you're using a debian-based system, but you get the idea).
+What we're describing, is that for all the hosts in our inventory we will use `sudo` to install the program `htop` using `apt-get` (yes, I assume you're using a debian-based system, but you get the idea).
First, we will try the setup on a local box. If you don't already have a Vagrant box installed, you can grab a new one by running `vagrant box add precise64 http://files.vagrantup.com/precise64.box`.
@@ -45,7 +45,7 @@ end
This file says that we will use the box named *precise64*, located at the given URL, and we want to provision it using Ansible, and the path to the playbook.
-By running `vagrant up`, a box gets started and provisioned. The output should be similar to this:
+By running `vagrant up`, a box gets started and provisioned. An inventory file is generated for us inside the directory, so ansible will know what to do. The output should be similar to this:
```
Bringing machine 'default' up with 'virtualbox' provider...
@@ -116,9 +116,7 @@ end
We need to override the user name to *ubuntu* and specify the path to the private key (the one we got from the AWS console when we created our new key pair) to log into the instance. The box also needs to be overridden.
-Running `vagrant up --provider=aws` will provision the box. It will also generates an inventory file for you inside the directory, so ansible will know what to do.
-
-It will takes a few minutes to start the instance and run the provisioning part. Wait a few minutes, but if it looks like the system is stuck, you can re-run the previous command by exporting `VAGRANT_LOG=debug` in order to get more detailed information.
+Running `vagrant up --provider=aws` will provision the box. It will takes a few minutes to start the instance and run the provisioning part. Wait a few minutes, but if it looks like the system is stuck, you can re-run the previous command by exporting `VAGRANT_LOG=debug` in order to get more detailed information.
> If the provisioning blocks while trying to connect to ssh, it's probably because your security group doesn't allow SSH connections.