commit 8768db33c9c33ec136e2ced4bf6f0bc9bd08e9c9 Author: Chris Hammer Date: Tue Dec 6 11:37:23 2022 -0500 initial project commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..09c6efe --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +collections/ansible_collections +facts.d diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..3ba8d4c --- /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 = 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 +callback_whitelist = ansible.posix.profile_tasks, ansible.posix.timer +deprecation_warnings = False +command_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/collections/requirements.yml b/collections/requirements.yml new file mode 100644 index 0000000..1694d04 --- /dev/null +++ b/collections/requirements.yml @@ -0,0 +1,6 @@ +--- +collections: + - name: ansible.posix + - name: community.general + - name: servicenow.itsm + diff --git a/hosts b/hosts new file mode 100644 index 0000000..03cac36 --- /dev/null +++ b/hosts @@ -0,0 +1 @@ +localhost ansible_connection=local diff --git a/snow_inventory.yml b/snow_inventory.yml new file mode 100644 index 0000000..1a07a79 --- /dev/null +++ b/snow_inventory.yml @@ -0,0 +1,8 @@ +--- +plugin: servicenow.itsm.now +query: + - os: = Linux Red Hat + - os: = Windows XP +keyed_groups: + - key: os + prefix: os