Add directory for vars files

This commit is contained in:
Adw8 2024-09-23 14:38:49 +05:30 committed by nabarun
parent 206ffcc970
commit 4b7d47184a
12 changed files with 21 additions and 18 deletions

View File

@ -1,4 +1,4 @@
dns-vars.yml
k8s-vars.yml
container-vars.yml
webapp-vars.yml
vars/dns-vars.yml
vars/k8s-vars.yml
vars/container-vars.yml
vars/webapp-vars.yml

View File

@ -14,13 +14,14 @@ To get started, follow the [installation](../README.md#installation) guide to se
### Create DNS entries in DigitalOcean
- Copy the [`dns-vars.example.yml`](./dns-vars.example.yml) vars file
- Copy the [`dns-vars.example.yml`](./vars/dns-vars.example.yml) file
```bash
cd vars/
cp dns-vars.example.yml dns-vars.yml
```
- Enter the `dns-vars.yml` file
- Set the following values in the `dns-vars.yml` file
```bash
# primary domain for which DNS records will be managed

View File

@ -6,10 +6,10 @@
KUBECONFIG: "{{ ansible_env.HOME }}/.kube/config-default.yaml"
vars_files:
- webapp-vars.yml
- container-vars.yml
- k8s-vars.yml
- dns-vars.yml
- vars/webapp-vars.yml
- vars/container-vars.yml
- vars/k8s-vars.yml
- vars/dns-vars.yml
tasks:
- name: Ensure gpg-keys directory exists

View File

@ -5,8 +5,8 @@
PATH: "{{ ansible_env.PATH }}:/home/{{ansible_user}}/bin"
vars_files:
- k8s-vars.yml
- container-vars.yml
- vars/k8s-vars.yml
- vars/container-vars.yml
tasks:
- name: Generate the spec file for the container-registry stack

View File

@ -2,7 +2,7 @@
hosts: localhost
vars_files:
- dns-vars.yml
- vars/dns-vars.yml
tasks:
- name: Create a domain

View File

@ -9,8 +9,8 @@
VAULT_KEY: "{{ vault_passphrase }}"
vars_files:
- k8s-vars.yml
- dns-vars.yml
- vars/k8s-vars.yml
- vars/dns-vars.yml
tasks:
- name: Install Python and pip

View File

@ -1,7 +1,7 @@
services:
registry:
rpcEndpoint: 'http://{{ cluster_control_ip }}:26657'
gqlEndpoint: 'http://{{ cluster_control_ip }}:9473/api'
rpcEndpoint: 'http://{{ subdomain_cluster_control }}.{{ dns_domain }}.com:26657'
gqlEndpoint: 'http://{{ subdomain_cluster_control}}.{{ dns_domain }}.com:9473/api'
userKey: "{{ ALICE_PK }}"
bondId: "{{ BOND_ID }}"
chainId: lorotestnet-1

View File

@ -0,0 +1,3 @@
authority_name: ""
ALICE_PK: ""
BOND_ID: ""

View File

@ -1 +0,0 @@
authority_name: ""