Add ansible playbook to automate service provider setup #10

Merged
nabarun merged 31 commits from deep-stack/testnet-ops:ag-sp-setup into main 2024-10-01 12:17:11 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit a023e4edf3 - Show all commits
service-provider-setup

View File

@ -63,7 +63,7 @@ To get started, follow the [installation](../README.md#installation) guide to se
password: "" password: ""
# path to the ssh key on your machine, eg: "/home/dev/.ssh/id_rsa.pub" # path to the ssh key on your machine, eg: "/home/dev/.ssh/id_rsa.pub"
path_to_ssh_key: " path_to_ssh_key: ""
``` ```
- Execute the `setup-user.yml` Ansible playbook to create a user with passwordless sudo permissions: - Execute the `setup-user.yml` Ansible playbook to create a user with passwordless sudo permissions:

View File

@ -22,7 +22,7 @@ FQDN_POLICY="allow"
# lrn of the webapp deployer # lrn of the webapp deployer
LRN="lrn://{{ authority_name }}/deployers/webapp-deployer-api.{{ full_domain }}" LRN="lrn://{{ authority_name }}/deployers/webapp-deployer-api.{{ full_domain }}"
export OPENPGP_PRIVATE_KEY_FILE="webapp-deployer-api.{{ full_domain }}.pgp.key" export OPENPGP_PRIVATE_KEY_FILE="webapp-deployer-api.{{ full_domain }}.pgp.key"
export OPENPGP_PASSPHRASE="SECRET" export OPENPGP_PASSPHRASE="{{ deployer_gpg_passphrase }}"
export DEPLOYER_STATE="srv-test/deployments/autodeploy.state" export DEPLOYER_STATE="srv-test/deployments/autodeploy.state"
export UNDEPLOYER_STATE="srv-test/deployments/autoundeploy.state" export UNDEPLOYER_STATE="srv-test/deployments/autoundeploy.state"
export UPLOAD_DIRECTORY="srv-test/uploads" export UPLOAD_DIRECTORY="srv-test/uploads"