Initial commit

This commit is contained in:
Jamie Helmke
2025-10-30 21:36:38 +01:00
commit 792f4a7f82
8 changed files with 192 additions and 0 deletions

7
ansible/ansible.cfg Normal file
View File

@@ -0,0 +1,7 @@
[defaults]
inventory = ./ansible/inventory/hosts.ini
roles_path = ./ansible/roles
collections_paths = ./ansible/lib/collections
host_key_checking = False
retry_files_enabled = False
stdout_callback = yaml

View File

@@ -0,0 +1,22 @@
# Tips for building inventories
# - Ensure that group names are meaningful and unique. Group names are also case sensitive.
# - Avoid spaces, hyphens, and preceding numbers (use floor_19, not 19th_floor) in group names.
# - Group hosts in your inventory logically according to their What, Where, and When.
#
# Example inventory
#production:
# children:
# web:
# hosts:
# web1.example.com:
# web2.example.com:
# db:
# hosts:
# db1.example.com:
# db2.example.com:
local:
hosts:
localhost:
ansible_host: localhost
ansible_connection: local

View File

@@ -0,0 +1,7 @@
---
- name: Example Playbook
hosts: local
gather_facts: false
tasks:
- name: Test connection
ansible.builtin.ping: