Compare commits
No commits in common. "171e32db262bebeb38f2d655264ec8866683e44a" and "89515d12a5c030b0beee61df9ce0aace04484c4e" have entirely different histories.
171e32db26
...
89515d12a5
|
|
@ -1,45 +1,3 @@
|
||||||
# Ansible
|
# ---> Ansible
|
||||||
*.retry
|
*.retry
|
||||||
*.pyc
|
|
||||||
__pycache__/
|
|
||||||
|
|
||||||
# Sensitive files
|
|
||||||
*.vault
|
|
||||||
*vault*.yml
|
|
||||||
!*vault*.yml.example
|
|
||||||
secrets/
|
|
||||||
.vault_pass
|
|
||||||
.vault_password
|
|
||||||
|
|
||||||
# SSH keys
|
|
||||||
*.pem
|
|
||||||
*.key
|
|
||||||
id_rsa*
|
|
||||||
id_ed25519*
|
|
||||||
|
|
||||||
# Environment
|
|
||||||
.env
|
|
||||||
*.env.local
|
|
||||||
venv/
|
|
||||||
.venv/
|
|
||||||
|
|
||||||
# IDE
|
|
||||||
.idea/
|
|
||||||
.vscode/
|
|
||||||
*.swp
|
|
||||||
*.swo
|
|
||||||
*~
|
|
||||||
|
|
||||||
# OS
|
|
||||||
.DS_Store
|
|
||||||
Thumbs.db
|
|
||||||
|
|
||||||
# Logs
|
|
||||||
*.log
|
|
||||||
logs/
|
|
||||||
|
|
||||||
# Temporary files
|
|
||||||
tmp/
|
|
||||||
.tmp/
|
|
||||||
*.tmp
|
|
||||||
*.bak
|
|
||||||
|
|
|
||||||
17
ansible.cfg
17
ansible.cfg
|
|
@ -1,17 +0,0 @@
|
||||||
[defaults]
|
|
||||||
inventory = inventory/hosts.yml
|
|
||||||
roles_path = roles
|
|
||||||
host_key_checking = False
|
|
||||||
retry_files_enabled = False
|
|
||||||
stdout_callback = yaml
|
|
||||||
callbacks_enabled = profile_tasks
|
|
||||||
|
|
||||||
[privilege_escalation]
|
|
||||||
become = True
|
|
||||||
become_method = sudo
|
|
||||||
become_user = root
|
|
||||||
become_ask_pass = False
|
|
||||||
|
|
||||||
[ssh_connection]
|
|
||||||
pipelining = True
|
|
||||||
ssh_args = -o ControlMaster=auto -o ControlPersist=60s
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
---
|
|
||||||
# Variables applied to all hosts
|
|
||||||
# ansible_user: your_ssh_user
|
|
||||||
# ansible_become: true
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
all:
|
|
||||||
children:
|
|
||||||
# Example group structure - customize as needed
|
|
||||||
webservers:
|
|
||||||
hosts:
|
|
||||||
# web1:
|
|
||||||
# ansible_host: 192.168.1.10
|
|
||||||
|
|
||||||
dbservers:
|
|
||||||
hosts:
|
|
||||||
# db1:
|
|
||||||
# ansible_host: 192.168.1.20
|
|
||||||
|
|
||||||
local:
|
|
||||||
hosts:
|
|
||||||
localhost:
|
|
||||||
ansible_connection: local
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
---
|
|
||||||
# Main site playbook - orchestrates all plays
|
|
||||||
- name: Apply common configuration
|
|
||||||
hosts: all
|
|
||||||
roles: []
|
|
||||||
# - common
|
|
||||||
|
|
||||||
# - name: Configure web servers
|
|
||||||
# hosts: webservers
|
|
||||||
# roles:
|
|
||||||
# - webserver
|
|
||||||
|
|
||||||
# - name: Configure database servers
|
|
||||||
# hosts: dbservers
|
|
||||||
# roles:
|
|
||||||
# - database
|
|
||||||
Loading…
Reference in New Issue