Update service provider setup to configure laconicd chain id #12

Merged
nabarun merged 17 commits from deep-stack/testnet-ops:pm-update-laconicd into main 2024-10-21 10:22:33 +00:00
Showing only changes of commit 8fbbbbdd7f - Show all commits

View File

@ -6,6 +6,16 @@
- vars/k8s-vars.yml
tasks:
- name: Check if domain exists
community.digitalocean.digital_ocean_domain_facts:
oauth_token: "{{ do_api_token }}"
register: existing_domains
- name: Fail if domain already exists
fail:
msg: "Domain {{ full_domain }} already exists."
when: full_domain in existing_domains.data | map(attribute='name') | list
- name: Create a domain
community.digitalocean.digital_ocean_domain:
state: present