#### 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. bin_ansible_callbacks = True host_key_checking = false #vault_password_file = /etc/ansible/.vaulto vault_password_file = /tmp/.vaulto # callback_plugins = /etc/ansible/plugins/callback # callback_whitelist = telegram # callbacks_enabled = telegram 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