-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathmain.yml
More file actions
94 lines (80 loc) · 2.49 KB
/
Copy pathmain.yml
File metadata and controls
94 lines (80 loc) · 2.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
---
# Entry Point Controls
ansible_install_enabled: true
ansible_timer_enabled: true
# Execution Mode
ansible_mode: "pull"
# Git Repository Configuration
ansible_repo: ""
ansible_branch: "main"
ansible_checkout_dir: "/var/lib/ansible-automation"
# Playbook Configuration
ansible_playbook: "site.yml"
ansible_inventory: "inventory/hosts"
ansible_extra_args: ""
ansible_host_limit: "{{ inventory_hostname }}"
ansible_install_collections: true
ansible_install_roles: false
ansible_requirements_file: "requirements.yml"
# Systemd Timer Configuration
ansible_schedule: "*:0/15"
ansible_random_delay: 300
ansible_service_name: "ansible-{{ ansible_mode }}"
# Ansible Installation
ansible_install_method: "pipx"
ansible_pipx_home: "/opt/pipx"
ansible_pipx_bin: "/opt/pipx/bin"
ansible_package_version: ""
ansible_remove_system_package: true
# SSH Configuration
ansible_ssh_key_enabled: true
ansible_ssh_key_path: "/root/.ssh/ansible_automation_ed25519"
ansible_ssh_key_type: "ed25519"
ansible_ssh_key_prompt: true
# Python Package Injection (pipx only)
ansible_pipx_inject_packages: []
# Example:
# ansible_pipx_inject_packages:
# # Filter plugin dependencies
# - tomli # TOML parsing (Python < 3.11)
# - tomli-w # TOML writing
# # Cloud providers
# - kubernetes # For k8s module support
# - openshift # For OpenShift support
# - boto3 # For AWS modules
# - botocore # For AWS modules
# - google-auth # For GCP modules
# - azure-cli # For Azure modules
# # Remote connections
# - pywinrm # For Windows remote management
# - paramiko # For SSH connections
# # Utilities
# - netaddr # For network address manipulation
# - jmespath # For JSON queries
# - dnspython # For DNS lookups
# ============================================================================
# OpenTelemetry Configuration
ansible_otel_enabled: false
ansible_otel_endpoint: ""
ansible_otel_headers: ""
ansible_otel_service_name: "ansible-automation"
ansible_otel_environment: "production"
# Environment Variables
ansible_environment: {}
# Example:
# ansible_environment:
# ANSIBLE_HOST_KEY_CHECKING: "False"
# ANSIBLE_TIMEOUT: "30"
# System Packages
ansible_required_packages:
- git
ansible_pipx_packages:
- pipx
# Service Management
ansible_service_enabled: true
ansible_timer_state: started
# Retry Configuration
ansible_retry_count: 3
ansible_retry_delay: 10
# Debug Configuration
ansible_debug_mode: false