From 958a7a3cc33ad905eaf6933e3ad08cb10d57870a Mon Sep 17 00:00:00 2001 From: bronsen <kontakt+gitcommit@nrrd.de> Date: Fri, 28 Feb 2025 10:44:19 +0100 Subject: [PATCH] [hosts] add comments explaining what certain settings do --- hosts.ini | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts.ini b/hosts.ini index 2a97815..883486d 100644 --- a/hosts.ini +++ b/hosts.ini @@ -1,9 +1,9 @@ -# Group named "multi" +; Group named "multi" [multi:children] application_servers database_servers -# Variables that will be applied to all servers +; Variables that will be applied to all servers in group "multi" [multi:vars] ansible_host = 127.0.0.1 @@ -12,9 +12,11 @@ ansible_ssh_private_key_file = /home/bronsen/.local/share/vagrant/insecure_priva ansible_ssh_host_key_checking = false ansible_ssh_common_args = -o DSAAuthentication=yes -o IdentitiesOnly=yes -o PubkeyAcceptedKeyTypes=+ssh-rsa -o HostKeyAlgorithms=+ssh-rsa +; hide all warnings regarding the discovered python interpreters on the remote side ; https://docs.ansible.com/ansible-core/2.18/reference_appendices/interpreter_discovery.html ansible_python_interpreter = auto_silent +; hostnames are resolved via dns, see Vagrantfile for actual IP addresses [application_servers] app1 ansible_ssh_port=2222 app2 ansible_ssh_port=2200