diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..881826b --- /dev/null +++ b/ansible.cfg @@ -0,0 +1,26 @@ +[defaults] +inventory = hosts +roles_path = roles +collections_path = collections +remote_tmp = /tmp/.ansible-${USER}/tmp +gathering = smart +gather_timeout = 30 +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 +interpreter_python = auto_silent +bin_ansible_callbacks = True +callbacks_enabled = yaml, timer, profile_tasks +deprecation_warnings = False + + +[ssh_connection] +pipelining = True +ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o PreferredAuthentications=publickey + diff --git a/collections/.keep b/collections/.keep new file mode 100644 index 0000000..e69de29 diff --git a/facts.d/lab-dev-1 b/facts.d/lab-dev-1 new file mode 100644 index 0000000..273a7a6 --- /dev/null +++ b/facts.d/lab-dev-1 @@ -0,0 +1,3 @@ +{ + "discovered_interpreter_python": "/usr/libexec/platform-python" +} \ No newline at end of file diff --git a/facts.d/lab-dev-2 b/facts.d/lab-dev-2 new file mode 100644 index 0000000..273a7a6 --- /dev/null +++ b/facts.d/lab-dev-2 @@ -0,0 +1,3 @@ +{ + "discovered_interpreter_python": "/usr/libexec/platform-python" +} \ No newline at end of file diff --git a/facts.d/lab-prod-1 b/facts.d/lab-prod-1 new file mode 100644 index 0000000..273a7a6 --- /dev/null +++ b/facts.d/lab-prod-1 @@ -0,0 +1,3 @@ +{ + "discovered_interpreter_python": "/usr/libexec/platform-python" +} \ No newline at end of file diff --git a/facts.d/lab-prod-2 b/facts.d/lab-prod-2 new file mode 100644 index 0000000..273a7a6 --- /dev/null +++ b/facts.d/lab-prod-2 @@ -0,0 +1,3 @@ +{ + "discovered_interpreter_python": "/usr/libexec/platform-python" +} \ No newline at end of file diff --git a/roles/.keep b/roles/.keep new file mode 100644 index 0000000..e69de29