[hosts] add comments explaining what certain settings do
This commit is contained in:
parent
3f639a82d5
commit
958a7a3cc3
1 changed files with 4 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
||||||
# Group named "multi"
|
; Group named "multi"
|
||||||
[multi:children]
|
[multi:children]
|
||||||
application_servers
|
application_servers
|
||||||
database_servers
|
database_servers
|
||||||
|
|
||||||
# Variables that will be applied to all servers
|
; Variables that will be applied to all servers in group "multi"
|
||||||
[multi:vars]
|
[multi:vars]
|
||||||
ansible_host = 127.0.0.1
|
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_host_key_checking = false
|
||||||
ansible_ssh_common_args = -o DSAAuthentication=yes -o IdentitiesOnly=yes -o PubkeyAcceptedKeyTypes=+ssh-rsa -o HostKeyAlgorithms=+ssh-rsa
|
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
|
; https://docs.ansible.com/ansible-core/2.18/reference_appendices/interpreter_discovery.html
|
||||||
ansible_python_interpreter = auto_silent
|
ansible_python_interpreter = auto_silent
|
||||||
|
|
||||||
|
; hostnames are resolved via dns, see Vagrantfile for actual IP addresses
|
||||||
[application_servers]
|
[application_servers]
|
||||||
app1 ansible_ssh_port=2222
|
app1 ansible_ssh_port=2222
|
||||||
app2 ansible_ssh_port=2200
|
app2 ansible_ssh_port=2200
|
||||||
|
|
Loading…
Add table
Reference in a new issue