Ansible project config & cluster inventory file

This commit is contained in:
2023-01-03 00:31:26 +01:00
parent 8ecb846e51
commit b5c142e8c3
2 changed files with 17 additions and 0 deletions

3
ansible.cfg Normal file
View File

@@ -0,0 +1,3 @@
[defaults]
remote_user = ubuntu
host_key_checking = False

14
kazan.ini Normal file
View File

@@ -0,0 +1,14 @@
localhost ansible_connection=local
[controller]
c1.kazan.schleppe ansible_host=c1.kazan.schleppe ansible_port=22
c2.kazan.schleppe ansible_host=c2.kazan.schleppe ansible_port=22
c3.kazan.schleppe ansible_host=c3.kazan.schleppe ansible_port=22
[worker]
w1.kazan.schleppe ansible_host=w1.kazan.schleppe ansible_port=22
w2.kazan.schleppe ansible_host=w2.kazan.schleppe ansible_port=22
w3.kazan.schleppe ansible_host=w3.kazan.schleppe ansible_port=22
[load-balancer]
lb1.kazan.schleppe ansible_host=lb1.kazan.schleppe ansible_port=22