From b804e70cdd0bc8601bfc87fcf3e34043223828ee Mon Sep 17 00:00:00 2001 From: Russell Teague Date: Wed, 1 Feb 2017 10:28:05 -0500 Subject: [PATCH] Add default ansible.cfg file By default the callback_plugins need to be run to ensure proper Ansible version --- .gitignore | 1 - ansible.cfg.example => ansible.cfg | 19 +++++++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) rename ansible.cfg.example => ansible.cfg (62%) diff --git a/.gitignore b/.gitignore index d3fab9f1aa3..1e187db166e 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 similarity index 62% rename from ansible.cfg.example rename to ansible.cfg index 6a7722ad84f..034733684eb 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