feat: initial playbook
This commit is contained in:
parent
99bfb97ee7
commit
f8e1de4f0a
30 changed files with 1097 additions and 2 deletions
33
ansible.cfg
Normal file
33
ansible.cfg
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
[defaults]
|
||||
# Basic configuration
|
||||
inventory = inventory/
|
||||
host_key_checking = False
|
||||
timeout = 30
|
||||
forks = 10
|
||||
gathering = smart
|
||||
fact_caching = memory
|
||||
|
||||
# Logging
|
||||
log_path = ./ansible.log
|
||||
stdout_callback = yaml
|
||||
bin_ansible_callbacks = True
|
||||
|
||||
# SSH settings
|
||||
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
|
||||
pipelining = True
|
||||
|
||||
# Performance
|
||||
host_key_checking = False
|
||||
retry_files_enabled = False
|
||||
|
||||
# Colors
|
||||
force_color = 1
|
||||
|
||||
[inventory]
|
||||
enable_plugins = host_list, script, auto, yaml, ini, toml
|
||||
|
||||
[privilege_escalation]
|
||||
become = True
|
||||
become_method = sudo
|
||||
become_user = root
|
||||
become_ask_pass = False
|
||||
Loading…
Add table
Add a link
Reference in a new issue