74 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			INI
		
	
	
			
		
		
	
	
			74 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			INI
		
	
	
# Ansible configuration
 | 
						|
 | 
						|
[defaults]
 | 
						|
 | 
						|
# Explicitely redefined some defaults to make play execution work
 | 
						|
roles_path = ./roles
 | 
						|
action_plugins = ./action_plugins
 | 
						|
lookup_plugins = ./lookup_plugins
 | 
						|
vars_plugins = ./vars_plugins
 | 
						|
 | 
						|
# Do not create .retry files
 | 
						|
retry_files_enabled = False
 | 
						|
 | 
						|
# Generate inventory
 | 
						|
inventory = ./hosts
 | 
						|
 | 
						|
# Maximum size of files to be considered for diff display
 | 
						|
max_diff_size = 1000000
 | 
						|
 | 
						|
# Do not use cows (with cowsay)
 | 
						|
nocows = 1
 | 
						|
 | 
						|
# Do more parallelism
 | 
						|
forks = 15
 | 
						|
 | 
						|
# Some SSH connection will take time
 | 
						|
timeout = 60
 | 
						|
 | 
						|
# Enable fact_caching
 | 
						|
gathering = smart
 | 
						|
fact_caching = jsonfile
 | 
						|
fact_caching_connection = ~/.cache/ansible/json/
 | 
						|
fact_caching_timeout = 86400
 | 
						|
 | 
						|
[privilege_escalation]
 | 
						|
 | 
						|
# Use sudo to get priviledge access
 | 
						|
become = True
 | 
						|
 | 
						|
# Use custom password request
 | 
						|
become_ask_pass = False
 | 
						|
 | 
						|
[ssh_connection]
 | 
						|
 | 
						|
pipelining = True
 | 
						|
retries = 3
 | 
						|
 | 
						|
[diff]
 | 
						|
 | 
						|
# TO know what changed
 | 
						|
always = yes
 | 
						|
 | 
						|
[re2o]
 | 
						|
 | 
						|
api_hostname = intranet.crans.org
 | 
						|
 | 
						|
# Whether or not using vault_cranspasswords
 | 
						|
use_cpasswords = True
 | 
						|
 | 
						|
# Specify cache plugin for re2o API. By default, cache nothing
 | 
						|
cache = jsonfile
 | 
						|
 | 
						|
# Only used for memcached plugin
 | 
						|
# List of connection information for the memcached DBs
 | 
						|
# Default is ['127.0.0.1:11211']
 | 
						|
# memcached_connection = ['127.0.0.1:11211']
 | 
						|
 | 
						|
# Time in second before the cache expired. 0 means never expire cache.
 | 
						|
# Default is 24 hours.
 | 
						|
timeout = 86400
 | 
						|
 | 
						|
# Default is 12 hours.
 | 
						|
timeout_token = 43200
 |