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_ +