Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

inclusion of ansible.cfg to facilitate installation #13

Merged
merged 3 commits into from
Aug 31, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@ multi_ec2.yaml
multi_inventory.yaml
.vagrant
.tags*
ansible.cfg
21 changes: 21 additions & 0 deletions reference-architecture/aws-ansible/ansible.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# config file for ansible -- http://ansible.com/
# ==============================================
[defaults]
#callback_plugins = ../openshift-ansible/ansible-profile/callback_plugins
forks = 50
host_key_checking = False
hostfile = inventory/aws/hosts/ec2.py
remote_user = ec2-user
gathering = smart
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line should be removed as well.

You'll probably want to set the following:

retry_files_enabled = false
nocows = true

Otherwise, lgtm.
@abutcher any thoughts?

retry_files_enabled = false
nocows = true
#lookup_plugins = ./playbooks/lookup_plugins
#log_path = /tmp/ansible.log

[privilege_escalation]
become = True

[ssh_connection]
ssh_args = -o ControlMaster=auto -o ControlPersist=900s -o GSSAPIAuthentication=no
control_path = /var/tmp/%%h-%%r
#pipelining = True