Skip to content

Commit

Permalink
Add default ansible.cfg file
Browse files Browse the repository at this point in the history
By default the callback_plugins need to be run to ensure proper Ansible
version
  • Loading branch information
mtnbikenc committed Feb 1, 2017
1 parent 80c2436 commit b804e70
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ gce.ini
multi_ec2.yaml
.vagrant
.tags*
/ansible.cfg
*.retry
.vscode/*
.cache
Expand Down
19 changes: 13 additions & 6 deletions ansible.cfg.example → ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,18 @@

# This config file provides examples for running
# the OpenShift playbooks with the provided
# inventory scripts. Only global defaults are
# left uncommented
# inventory scripts.

[defaults]
# Add the roles directory to the roles path
roles_path = roles/

# Set the log_path
log_path = /tmp/ansible.log
#log_path = /tmp/ansible.log

# Additional default options for OpenShift Ansible
callback_plugins = callback_plugins/
forks = 20
host_key_checking = False
retry_files_enabled = False
nocows = True

# Uncomment to use the provided BYO inventory
#hostfile = inventory/byo/hosts
Expand All @@ -21,3 +24,7 @@ log_path = /tmp/ansible.log

# Uncomment to use the provided AWS dynamic inventory script
#hostfile = inventory/aws/ec2.py

# Additional ssh options for OpenShift Ansible
[ssh_connection]
pipelining = True

0 comments on commit b804e70

Please sign in to comment.