From 2fedc0e2b16694809d4509b76ccff2159ec4e51c Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Tue, 2 May 2023 14:45:22 -0400 Subject: [PATCH] update the ansible.cfg files --- 10_ansible.cfg => FULL_ansible.cfg | 0 MIN_ansible.cfg | 3 +++ ansible.cfg | 32 ++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+) rename 10_ansible.cfg => FULL_ansible.cfg (100%) create mode 100644 MIN_ansible.cfg diff --git a/10_ansible.cfg b/FULL_ansible.cfg similarity index 100% rename from 10_ansible.cfg rename to FULL_ansible.cfg diff --git a/MIN_ansible.cfg b/MIN_ansible.cfg new file mode 100644 index 0000000..0a239fd --- /dev/null +++ b/MIN_ansible.cfg @@ -0,0 +1,3 @@ +[defaults] +bin_ansible_callbacks = True +callbacks_enabled = ansible.posix.profile_tasks, ansible.posix.timer diff --git a/ansible.cfg b/ansible.cfg index 0a239fd..8e6cc62 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,3 +1,35 @@ [defaults] +inventory = inventory +roles_path = roles +collections_path = collections +remote_tmp = /tmp/.ansible-${USER}/tmp +gathering = smart +gather_timeout = 300 +fact_path = facts.d +fact_caching = jsonfile +fact_caching_connection = facts.d +fact_caching_timeout = 300 +retry_files_enabled = False +forks = 40 +timeout = 30 +host_key_checking = False +display_skipped_hosts = False bin_ansible_callbacks = True callbacks_enabled = ansible.posix.profile_tasks, ansible.posix.timer +deprecation_warnings = False +command_warnings = False +strategy = free + + +[ssh_connection] +pipelining = True +ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o PreferredAuthentications=publickey + + +#[inventory] +#cache = True +#cache_plugin = ansible.builtin.jsonfile +#cache_connection = inventory_cache +#cache_timeout = 300 +#cache_prefix = ansible_nmap_inventory_ +