Petr OspalĂ˝ | 144f28a | 2018-12-19 14:27:43 +0100 | [diff] [blame^] | 1 | --- |
| 2 | # This group contains hosts with all resources (binaries, packages, etc.) |
| 3 | # in tarball. |
| 4 | all: |
| 5 | vars: |
| 6 | # this key is supposed to be generated during setup.yml playbook execution |
| 7 | # change it just when you have better one working for all nodes |
| 8 | ansible_ssh_private_key_file: /root/.ssh/offline_ssh_key |
| 9 | ansible_ssh_common_args: '-o StrictHostKeyChecking=no' |
| 10 | |
| 11 | children: |
| 12 | resources: |
| 13 | hosts: |
| 14 | resource-host: |
| 15 | ansible_host: 10.8.8.5 |
| 16 | |
| 17 | # This is group of hosts where nexus, nginx, dns and all other required |
| 18 | # services are running. |
| 19 | infrastructure: |
| 20 | hosts: |
| 21 | infrastructure-server: |
| 22 | ansible_host: 10.8.8.13 |
| 23 | |
| 24 | # This is group of hosts which are/will be part of Kubernetes cluster. |
| 25 | kubernetes: |
| 26 | hosts: |
| 27 | kubernetes-node-1: |
| 28 | ansible_host: 10.8.8.19 |
| 29 | |
| 30 | nfs-server: |
| 31 | hosts: |
| 32 | kubernetes-node-1 |