w8 wut
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
hogweed1
2024-10-22 16:16:43 +10:00
parent 97bf0ec1fe
commit fe33aee2fe
130 changed files with 24883 additions and 21 deletions

View File

@@ -1,4 +1,15 @@
#### export ANSIBLE_CONFIG=./ansible.cfg
[defaults]
gathering = smart
fact_caching = jsonfile
fact_caching_connection = /tmp/facts_cache
# two hours timeout
fact_caching_timeout = 7200
interpreter_python = auto_silent
ansible_python_interpreter = auto_silent
# Use the YAML callback plugin.
stdout_callback = yaml
# Use the stdout_callback when running ad-hoc commands.
@@ -6,12 +17,28 @@ bin_ansible_callbacks = True
host_key_checking = false
vault_password_file = /etc/ansible/.vaulto
#vault_password_file = /etc/ansible/.vaulto
vault_password_file = /tmp/.vaulto
callback_plugins = /etc/ansible/plugins/callback
callback_whitelist = telegram
callbacks_enabled = telegram
# callback_plugins = /etc/ansible/plugins/callback
# callback_whitelist = telegram
# callbacks_enabled = telegram
[callback_telegram]
tg_token = 6472915685:AAHPvgrQoqG7DxtfbnHWPe3Lfild-CGJ1j8
tg_chat_id = -4023350326
strategy_plugins = mitogen-0.3.9/ansible_mitogen/plugins/strategy
strategy = mitogen_linear
#### TODO чому-то не делается
roles_path = roles:internal_roles
# # [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