From 758a0c0b5ac024a70e451cd93bd6103275cae533 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Tue, 8 Feb 2022 20:45:48 -0500 Subject: [PATCH] add ansible.cfg; other skeleton stuff --- ansible.cfg | 26 ++++++++++++++++++++++++++ collections/.keep | 0 facts.d/lab-dev-1 | 3 +++ facts.d/lab-dev-2 | 3 +++ facts.d/lab-prod-1 | 3 +++ facts.d/lab-prod-2 | 3 +++ roles/.keep | 0 7 files changed, 38 insertions(+) create mode 100644 ansible.cfg create mode 100644 collections/.keep create mode 100644 facts.d/lab-dev-1 create mode 100644 facts.d/lab-dev-2 create mode 100644 facts.d/lab-prod-1 create mode 100644 facts.d/lab-prod-2 create mode 100644 roles/.keep 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