forked from cerc-io/testnet-ops
nabarun
18df60a291
Part of [Service Provider setup](https://www.notion.so/Service-provider-setup-a09e2207e1f34f3a847f7ce9713b7ac5) - Added ansible playbooks for: - Adding a new user with passwordless sudo - Configuring DNS records - Setting up the system with required packages and gpg key - Deploying k8s - Setting up container registry - Setting up laconicd and laconic-console - Setting up and starting webapp-deployer-api and webapp-deployer-ui - TODOs: - Mount gpg keys in webapp-deployer-api container Co-authored-by: Adw8 <adwaitgharpure@gmail.com> Reviewed-on: cerc-io/testnet-ops#10
21 lines
607 B
YAML
21 lines
607 B
YAML
- hosts: "{{ target_host }}"
|
|
tasks:
|
|
- name: Check if .out file exists
|
|
stat:
|
|
path: "{{ ansible_env.HOME }}/.out"
|
|
register: out_file
|
|
|
|
- name: Exit playbook if .out file exists
|
|
fail:
|
|
msg: ".out file exists, exiting playbook."
|
|
when: out_file.stat.exists
|
|
|
|
- import_playbook: setup-dns.yml
|
|
- import_playbook: setup-system.yml
|
|
- import_playbook: setup-k8s.yml
|
|
- import_playbook: setup-container-registry.yml
|
|
- import_playbook: run-laconicd.yml
|
|
- import_playbook: run-laconic-console.yml
|
|
- import_playbook: deploy-backend.yml
|
|
- import_playbook: deploy-frontend.yml
|