summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-02-01 10:28:05 -0500
committerRussell Teague <rteague@redhat.com>2017-02-01 11:20:50 -0500
commitb804e70cdd0bc8601bfc87fcf3e34043223828ee (patch)
treeca71619a77ad3199814f30a83ebe59bbb93a31f8
parent80c24368564e2b8328c63d21902f54cb3ea12c4d (diff)
downloadopenshift-b804e70cdd0bc8601bfc87fcf3e34043223828ee.tar.gz
openshift-b804e70cdd0bc8601bfc87fcf3e34043223828ee.tar.bz2
openshift-b804e70cdd0bc8601bfc87fcf3e34043223828ee.tar.xz
openshift-b804e70cdd0bc8601bfc87fcf3e34043223828ee.zip
Add default ansible.cfg file
By default the callback_plugins need to be run to ensure proper Ansible version
-rw-r--r--.gitignore1
-rw-r--r--ansible.cfg (renamed from ansible.cfg.example)19
2 files changed, 13 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index d3fab9f1a..1e187db16 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,7 +16,6 @@ gce.ini
multi_ec2.yaml
.vagrant
.tags*
-/ansible.cfg
*.retry
.vscode/*
.cache
diff --git a/ansible.cfg.example b/ansible.cfg
index 6a7722ad8..034733684 100644
--- a/ansible.cfg.example
+++ b/ansible.cfg
@@ -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
@@ -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