Add directory for vars files
This commit is contained in:
parent
8b6e7cf3a8
commit
219ae63b40
8
service-provider-setup/.gitignore
vendored
8
service-provider-setup/.gitignore
vendored
@ -1,4 +1,4 @@
|
|||||||
dns-vars.yml
|
vars/dns-vars.yml
|
||||||
k8s-vars.yml
|
vars/k8s-vars.yml
|
||||||
container-vars.yml
|
vars/container-vars.yml
|
||||||
webapp-vars.yml
|
vars/webapp-vars.yml
|
||||||
|
@ -14,13 +14,14 @@ To get started, follow the [installation](../README.md#installation) guide to se
|
|||||||
|
|
||||||
### Create DNS entries in DigitalOcean
|
### 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
|
```bash
|
||||||
|
cd vars/
|
||||||
cp dns-vars.example.yml dns-vars.yml
|
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
|
```bash
|
||||||
# primary domain for which DNS records will be managed
|
# primary domain for which DNS records will be managed
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
KUBECONFIG: "{{ ansible_env.HOME }}/.kube/config-default.yaml"
|
KUBECONFIG: "{{ ansible_env.HOME }}/.kube/config-default.yaml"
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- webapp-vars.yml
|
- vars/webapp-vars.yml
|
||||||
- container-vars.yml
|
- vars/container-vars.yml
|
||||||
- k8s-vars.yml
|
- vars/k8s-vars.yml
|
||||||
- dns-vars.yml
|
- vars/dns-vars.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Ensure gpg-keys directory exists
|
- name: Ensure gpg-keys directory exists
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
PATH: "{{ ansible_env.PATH }}:/home/{{ansible_user}}/bin"
|
PATH: "{{ ansible_env.PATH }}:/home/{{ansible_user}}/bin"
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- k8s-vars.yml
|
- vars/k8s-vars.yml
|
||||||
- container-vars.yml
|
- vars/container-vars.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Generate the spec file for the container-registry stack
|
- name: Generate the spec file for the container-registry stack
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hosts: localhost
|
hosts: localhost
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- dns-vars.yml
|
- vars/dns-vars.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Create a domain
|
- name: Create a domain
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
VAULT_KEY: "{{ vault_passphrase }}"
|
VAULT_KEY: "{{ vault_passphrase }}"
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- k8s-vars.yml
|
- vars/k8s-vars.yml
|
||||||
- dns-vars.yml
|
- vars/dns-vars.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Install Python and pip
|
- name: Install Python and pip
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
registry:
|
registry:
|
||||||
rpcEndpoint: 'http://{{ cluster_control_ip }}:26657'
|
rpcEndpoint: 'http://{{ subdomain_cluster_control }}.{{ dns_domain }}.com:26657'
|
||||||
gqlEndpoint: 'http://{{ cluster_control_ip }}:9473/api'
|
gqlEndpoint: 'http://{{ subdomain_cluster_control}}.{{ dns_domain }}.com:9473/api'
|
||||||
userKey: "{{ ALICE_PK }}"
|
userKey: "{{ ALICE_PK }}"
|
||||||
bondId: "{{ BOND_ID }}"
|
bondId: "{{ BOND_ID }}"
|
||||||
chainId: lorotestnet-1
|
chainId: lorotestnet-1
|
||||||
|
3
service-provider-setup/vars/webapp-vars.example.yml
Normal file
3
service-provider-setup/vars/webapp-vars.example.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
authority_name: ""
|
||||||
|
ALICE_PK: ""
|
||||||
|
BOND_ID: ""
|
@ -1 +0,0 @@
|
|||||||
authority_name: ""
|
|
Loading…
Reference in New Issue
Block a user