|
| 1 | +all: |
| 2 | + vars: |
| 3 | + # single_node: |
| 4 | + # For development/qa/testing/staging keep true |
| 5 | + # For production keep false |
| 6 | + # Defaults production configuration: |
| 7 | + # - master node |
| 8 | + # - 2 worker nodes |
| 9 | + single_node: false |
| 10 | + |
| 11 | + # Domain/IP address for remote access to your cluster API |
| 12 | + # Domain/IP address will be added as main endpoint to your ~/.kube/config |
| 13 | + # - If you are behind VPN, use private IP address |
| 14 | + # - If your server is exposed (not recommeded), use public IP address |
| 15 | + # - If you would like to run kubectl commands from the remote server, leave this field empty |
| 16 | + # kube_api_endpoint: '' |
| 17 | + |
| 18 | + # IMPORTANT: If master VM has multiple ethernet interfaces, put private IP address at kube_api_address |
| 19 | + # kube_api_host: 10.10.10.10 |
| 20 | + kube_api_host: demo-prod.opencrvs.dev |
| 21 | + |
| 22 | + # Default ansible provision user, keep as is |
| 23 | + ansible_user: provision |
| 24 | + |
| 25 | + # users: Add as many users as you wish |
| 26 | + # Configuration example |
| 27 | + # - name: <login> |
| 28 | + # ssh_keys: |
| 29 | + # - <public ssh key 1> |
| 30 | + # - <public ssh key 2> |
| 31 | + # state: present |
| 32 | + # role: admin |
| 33 | + # Allowed roles: |
| 34 | + # - operator, read only access to OS, full access to kubernetes cluster |
| 35 | + # - admin, full access |
| 36 | + # Allowed states: |
| 37 | + # - present, user is allowed to login |
| 38 | + # - absent, account is disabled |
| 39 | + users: [] |
| 40 | + |
| 41 | + children: |
| 42 | + master: |
| 43 | + hosts: |
| 44 | + # Replace master with value returned by command: hostname |
| 45 | + master: |
| 46 | + # Keep values (ansible_host, ansible_connection) as is |
| 47 | + # Ansible is executed on master node |
| 48 | + ansible_host: localhost |
| 49 | + ansible_connection: local |
| 50 | + labels: |
| 51 | + # traefik-role label is used to identify where to deploy traefik |
| 52 | + traefik-role: ingress |
| 53 | + |
| 54 | + # Workers section is optional, for single node cluster feel free to remove this section |
| 55 | + # section can be added later |
| 56 | + # more workers can be added later as well |
| 57 | + |
| 58 | + workers: |
| 59 | + hosts: |
| 60 | + worker0: |
| 61 | + ansible_host: 157.180.92.54 |
| 62 | + labels: |
| 63 | + # By default all datastores are deployed to worker node with role data1 |
| 64 | + role: data1 |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + # backup section is optional, feel free to remove if backups are not enabled |
| 69 | + # section can be added later |
0 commit comments