chore: add .gitignore, ansible.cfg and include playbook/ (without vault)

This commit is contained in:
PurePowerPh1l 2025-08-09 02:30:40 +00:00 committed by automation
parent 8a4e33aff6
commit e062219d66
3 changed files with 27 additions and 0 deletions

13
.gitignore vendored Normal file
View File

@ -0,0 +1,13 @@
# Ansible artifacts
*.retry
# Sensitive group vars
playbook/group_vars/vault.yml
# Local facts/cache
.ansible/
.ansible_facts_cache/
# Editor/OS
.DS_Store
*.swp

View File

@ -1,2 +1,7 @@
# os-upgrade-automation # os-upgrade-automation
## Structure
- playbook/ (roles, vars, inventories)
- group_vars/vault.yml excluded (use sops/age)

9
ansible.cfg Normal file
View File

@ -0,0 +1,9 @@
[defaults]
inventory = playbook/inventories
roles_path = playbook/roles
retry_files_enabled = False
stdout_callback = yaml
host_key_checking = False
force_color = True
forks = 10
callback_whitelist = profile_tasks