summaryrefslogtreecommitdiffstats
path: root/playbooks/aws/ansible-tower
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2015-12-10 16:56:01 -0500
committerThomas Wiest <twiest@users.noreply.github.com>2015-12-10 16:56:01 -0500
commitfa1defdeed0431960643780af1f78fd5feba5ddc (patch)
tree308f2c2687ef707d22efd219a50cdeb39184799b /playbooks/aws/ansible-tower
parent5d375e519c4c8b6f37e083ed611247a02b0a8764 (diff)
parente81bf0e72dc12736b3ea69151123697b69b5240d (diff)
downloadopenshift-fa1defdeed0431960643780af1f78fd5feba5ddc.tar.gz
openshift-fa1defdeed0431960643780af1f78fd5feba5ddc.tar.bz2
openshift-fa1defdeed0431960643780af1f78fd5feba5ddc.tar.xz
openshift-fa1defdeed0431960643780af1f78fd5feba5ddc.zip
Merge pull request #1000 from detiber/localhostFix
Enforce connection: local and become: no on all localhost plays
Diffstat (limited to 'playbooks/aws/ansible-tower')
-rw-r--r--playbooks/aws/ansible-tower/config.yml2
-rw-r--r--playbooks/aws/ansible-tower/launch.yml1
2 files changed, 3 insertions, 0 deletions
diff --git a/playbooks/aws/ansible-tower/config.yml b/playbooks/aws/ansible-tower/config.yml
index efd1b9911..eb3f1a1da 100644
--- a/playbooks/aws/ansible-tower/config.yml
+++ b/playbooks/aws/ansible-tower/config.yml
@@ -2,6 +2,8 @@
- name: "populate oo_hosts_to_config host group if needed"
hosts: localhost
gather_facts: no
+ connection: local
+ become: no
tasks:
- name: Evaluate oo_host_group_exp if it's set
add_host: "name={{ item }} groups=oo_hosts_to_config"
diff --git a/playbooks/aws/ansible-tower/launch.yml b/playbooks/aws/ansible-tower/launch.yml
index fd6b15c32..d40529435 100644
--- a/playbooks/aws/ansible-tower/launch.yml
+++ b/playbooks/aws/ansible-tower/launch.yml
@@ -2,6 +2,7 @@
- name: Launch instance(s)
hosts: localhost
connection: local
+ become: no
gather_facts: no
vars: