From d1d361df372de405997710549da7a20c391cd5f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 9 Apr 2015 10:30:41 +0000 Subject: [PATCH] ansible.cfg: new configuration syntax --- ansible.cfg | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/ansible.cfg b/ansible.cfg index 94f06e4..be4548e 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -11,7 +11,7 @@ # some basic default values... -hostfile = /etc/ansible/hosts +inventory = /etc/ansible/hosts library = /usr/share/ansible remote_tmp = $HOME/.ansible/tmp pattern = * @@ -55,7 +55,7 @@ timeout = 10 # if so defined, consider logrotate #log_path = /var/log/ansible.log - +# default module name for /usr/bin/ansible #module_name = command # use this shell for commands executed under sudo @@ -154,6 +154,17 @@ filter_plugins = /usr/share/ansible_plugins/filter_plugins # current IP information. fact_caching = memory + +# retry files +#retry_files_enabled = False +#retry_files_save_path = ~/.ansible-retry + +[privilege_escalation] +#become=True +#become_method='sudo' +#become_user='root' +#become_ask_pass=False + [paramiko_connection] # uncomment this line to cause the paramiko connection plugin to not record new host