mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2024-09-20 02:34:47 +02:00
2d38b6ff63
This has multiple benefits: - We don't have to wait until Ansible 2.8 (which will be when the official hcloud dynamic inventory provider will be included) - We can expand the script to group servers by labels if required - We can use the vault to automatically get the hetzner cloud token which is not possible otherwise
16 lines
346 B
INI
16 lines
346 B
INI
[defaults]
|
|
inventory = hosts,hcloud_inventory.py
|
|
library = library
|
|
remote_tmp = $HOME/.ansible/tmp
|
|
remote_user = root
|
|
nocows = 1
|
|
roles_path = roles
|
|
vault_password_file = misc/get-vault-pass.sh
|
|
retry_files_enabled = False
|
|
callback_plugins = plugins/callback
|
|
callback_whitelist = profile_tasks
|
|
|
|
[ssh_connection]
|
|
pipelining = True
|
|
scp_if_ssh = True
|