Files
ansible-repo/ansible.cfg
hogweed1 190cc25e50
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s
trying to fix ansible pythons
2025-11-23 01:51:22 +10:00

56 lines
1.5 KiB
INI

#### export ANSIBLE_CONFIG=./ansible.cfg
[defaults]
gathering = smart
fact_caching = jsonfile
fact_caching_connection = /tmp/facts_cache
# two hours timeout
fact_caching_timeout = 7200
forks = 20
interpreter_python = auto_silent
ansible_python_interpreter = auto_silent
# Use the YAML callback plugin.
stdout_callback = default
callback_result_format = yaml
# Use the stdout_callback when running ad-hoc commands.
bin_ansible_callbacks = True
host_key_checking = false
#vault_password_file = /usr/share/.vaulto
#vault_password_file = /tmp/.vaulto
vault_password_file = .vaulto
# callback_plugins = /etc/ansible/plugins/callback
# callback_whitelist = telegram
# callbacks_enabled = telegram
callback_plugins = /root/.pyenv/versions/3.14.0/lib/python3.14/site-packages/plugins/callback
strategy_plugins = mitogen-0.3.32/ansible_mitogen/plugins/strategy
strategy = mitogen_linear
#### TODO чому-то не делается
roles_path = roles:internal_roles
[callback_ara]
api_client = http
api_server = http://192.168.0.55:8000
# # [callback_telegram]
# # tg_token = 6472915685:AAHPvgrQoqG7DxtfbnHWPe3Lfild-CGJ1j8
# # tg_chat_id = -4023350326
# добавление юзера
# useradd -m hogweed1 -s /usr/bin/bash
# passwd hogweed1
# sudo adduser hogweed1 sudo
[ssh_connection]
# Enable pipelining, requires disabling requiretty in sudoers
pipelining = True
ssh_args = -o ControlMaster=auto -o ControlPersist=60s