|
|
@ -11,18 +11,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
# some basic default values...
|
|
|
|
# some basic default values...
|
|
|
|
|
|
|
|
|
|
|
|
inventory = /etc/ansible/hosts
|
|
|
|
#inventory = /etc/ansible/hosts
|
|
|
|
#library = /usr/share/my_modules/
|
|
|
|
#library = /usr/share/my_modules/
|
|
|
|
remote_tmp = $HOME/.ansible/tmp
|
|
|
|
#remote_tmp = $HOME/.ansible/tmp
|
|
|
|
pattern = *
|
|
|
|
#pattern = *
|
|
|
|
forks = 5
|
|
|
|
#forks = 5
|
|
|
|
poll_interval = 15
|
|
|
|
#poll_interval = 15
|
|
|
|
sudo_user = root
|
|
|
|
#sudo_user = root
|
|
|
|
#ask_sudo_pass = True
|
|
|
|
#ask_sudo_pass = True
|
|
|
|
#ask_pass = True
|
|
|
|
#ask_pass = True
|
|
|
|
transport = smart
|
|
|
|
#transport = smart
|
|
|
|
#remote_port = 22
|
|
|
|
#remote_port = 22
|
|
|
|
module_lang = C
|
|
|
|
#module_lang = C
|
|
|
|
|
|
|
|
|
|
|
|
# plays will gather facts by default, which contain information about
|
|
|
|
# plays will gather facts by default, which contain information about
|
|
|
|
# the remote system.
|
|
|
|
# the remote system.
|
|
|
@ -30,7 +30,7 @@ module_lang = C
|
|
|
|
# smart - gather by default, but don't regather if already gathered
|
|
|
|
# smart - gather by default, but don't regather if already gathered
|
|
|
|
# implicit - gather by default, turn off with gather_facts: False
|
|
|
|
# implicit - gather by default, turn off with gather_facts: False
|
|
|
|
# explicit - do not gather by default, must say gather_facts: True
|
|
|
|
# explicit - do not gather by default, must say gather_facts: True
|
|
|
|
gathering = implicit
|
|
|
|
#gathering = implicit
|
|
|
|
|
|
|
|
|
|
|
|
# additional paths to search for roles in, colon separated
|
|
|
|
# additional paths to search for roles in, colon separated
|
|
|
|
#roles_path = /etc/ansible/roles
|
|
|
|
#roles_path = /etc/ansible/roles
|
|
|
@ -44,14 +44,14 @@ gathering = implicit
|
|
|
|
#callback_whitelist = timer, mail
|
|
|
|
#callback_whitelist = timer, mail
|
|
|
|
|
|
|
|
|
|
|
|
# change this for alternative sudo implementations
|
|
|
|
# change this for alternative sudo implementations
|
|
|
|
sudo_exe = sudo
|
|
|
|
#sudo_exe = sudo
|
|
|
|
|
|
|
|
|
|
|
|
# What flags to pass to sudo
|
|
|
|
# What flags to pass to sudo
|
|
|
|
# WARNING: leaving out the defaults might create unexpected behaviours
|
|
|
|
# WARNING: leaving out the defaults might create unexpected behaviours
|
|
|
|
#sudo_flags = -H -S -n
|
|
|
|
#sudo_flags = -H -S -n
|
|
|
|
|
|
|
|
|
|
|
|
# SSH timeout
|
|
|
|
# SSH timeout
|
|
|
|
timeout = 10
|
|
|
|
#timeout = 10
|
|
|
|
|
|
|
|
|
|
|
|
# default user to use for playbooks if user is not specified
|
|
|
|
# default user to use for playbooks if user is not specified
|
|
|
|
# (/usr/bin/ansible will use current user as default)
|
|
|
|
# (/usr/bin/ansible will use current user as default)
|
|
|
@ -91,7 +91,7 @@ timeout = 10
|
|
|
|
# replacing {file}, {host} and {uid} and strftime codes with proper values.
|
|
|
|
# replacing {file}, {host} and {uid} and strftime codes with proper values.
|
|
|
|
#ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host}
|
|
|
|
#ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host}
|
|
|
|
# This short version is better used in templates as it won't flag the file as changed every run.
|
|
|
|
# This short version is better used in templates as it won't flag the file as changed every run.
|
|
|
|
ansible_managed = Ansible managed: {file} on {host}
|
|
|
|
#ansible_managed = Ansible managed: {file} on {host}
|
|
|
|
|
|
|
|
|
|
|
|
# by default, ansible-playbook will display "Skipping [host]" if it determines a task
|
|
|
|
# by default, ansible-playbook will display "Skipping [host]" if it determines a task
|
|
|
|
# should not be run on a host. Set this to "False" if you don't want to see these "Skipping"
|
|
|
|
# should not be run on a host. Set this to "False" if you don't want to see these "Skipping"
|
|
|
@ -166,7 +166,7 @@ ansible_managed = Ansible managed: {file} on {host}
|
|
|
|
# wanting to use, for example, IP information from one group of servers
|
|
|
|
# wanting to use, for example, IP information from one group of servers
|
|
|
|
# without having to talk to them in the same playbook run to get their
|
|
|
|
# without having to talk to them in the same playbook run to get their
|
|
|
|
# current IP information.
|
|
|
|
# current IP information.
|
|
|
|
fact_caching = memory
|
|
|
|
#fact_caching = memory
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# retry files
|
|
|
|
# retry files
|
|
|
@ -239,13 +239,13 @@ fact_caching = memory
|
|
|
|
#sftp_batch_mode = False
|
|
|
|
#sftp_batch_mode = False
|
|
|
|
|
|
|
|
|
|
|
|
[accelerate]
|
|
|
|
[accelerate]
|
|
|
|
accelerate_port = 5099
|
|
|
|
#accelerate_port = 5099
|
|
|
|
accelerate_timeout = 30
|
|
|
|
#accelerate_timeout = 30
|
|
|
|
accelerate_connect_timeout = 5.0
|
|
|
|
#accelerate_connect_timeout = 5.0
|
|
|
|
|
|
|
|
|
|
|
|
# The daemon timeout is measured in minutes. This time is measured
|
|
|
|
# The daemon timeout is measured in minutes. This time is measured
|
|
|
|
# from the last activity to the accelerate daemon.
|
|
|
|
# from the last activity to the accelerate daemon.
|
|
|
|
accelerate_daemon_timeout = 30
|
|
|
|
#accelerate_daemon_timeout = 30
|
|
|
|
|
|
|
|
|
|
|
|
# If set to yes, accelerate_multi_key will allow multiple
|
|
|
|
# If set to yes, accelerate_multi_key will allow multiple
|
|
|
|
# private keys to be uploaded to it, though each user must
|
|
|
|
# private keys to be uploaded to it, though each user must
|
|
|
|