From ef4ec735b6f1d6db4b778f446008ba364f78a704 Mon Sep 17 00:00:00 2001 From: lied Date: Mon, 7 Oct 2013 08:29:03 -0400 Subject: [PATCH] Add local provisioning step notes to EC2 pages (adapted with changes by mpdehaan). --- docsite/latest/rst/guide_aws.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docsite/latest/rst/guide_aws.rst b/docsite/latest/rst/guide_aws.rst index cefc83d3532..9e48f6cc8ea 100644 --- a/docsite/latest/rst/guide_aws.rst +++ b/docsite/latest/rst/guide_aws.rst @@ -23,6 +23,18 @@ Requirements for the AWS modules are minimal. All of the modules require and ar You can also install it via pip if you want. +The following steps will often execute outside the host loop, so it makes sense to add localhost to inventory. Ansible +may not require this step in the future:: + + [local] + localhost + +And in your playbook steps we'll typically be using the following pattern for provisioning steps:: + + - hosts: localhost + connection: local + gather_facts: False + .. _aws_provisioning: Provisioning