testnet-ops/service-provider-setup
2024-10-01 04:47:17 +00:00
..
templates Add tasks to modify service-provider-template repo 2024-10-01 04:47:17 +00:00
.gitignore Add tasks to setup gpg agent 2024-10-01 04:47:17 +00:00
dns-vars.example.yml Add README for setting up DNS in DigitalOcean 2024-10-01 04:47:17 +00:00
k8s-vars.example.yml Add template files for modifying service-provider-template repo 2024-10-01 04:47:17 +00:00
README.md Add playbook to setup so user 2024-10-01 04:47:17 +00:00
setup-dns.yml Add playbook to setup so user 2024-10-01 04:47:17 +00:00
setup-k8s.yml Add tasks to modify service-provider-template repo 2024-10-01 04:47:17 +00:00
setup-user.yml Add tasks to install laconic-so, python, pip and ansible on remote host 2024-10-01 04:47:17 +00:00

service-provider-setup

Setup Ansible

To get started, follow the installation guide to setup ansible on your machine

Configure DNS

Prerequisites

  • Buy a domain and configure nameservers to DigitalOcean

  • Generate a DigitalOcean access token

Create DNS entries in DigitalOcean

  • Copy the dns-vars.example.yml vars file

    cp dns-vars.example.yml dns-vars.yml
    
  • Enter the dns-vars.yml file

    # primary domain for which DNS records will be managed
    # eg: laconic.com
    domain: ""
    
    # specific prefix for subdomains
    # eg: lcn-cad
    subdomain_prefix: ""
    
    # The IP address to be used for the A record of the cluster control machine
    # eg: 23.111.78.179
    cluster_control_ip: ""
    
    # DigitalOcean access token
    # eg: dop_v1...
    do_api_token: ""
    
  • Run the setup-dns.yml ansible playbook to create the necessary DNS entries in DigitalOcean

    ansible-playbook setup-dns.yml