Remove setup repos step for bridge and nitro-node stacks
This commit is contained in:
parent
dc75382d2d
commit
16670029cb
@ -30,14 +30,6 @@
|
|||||||
timeout: 300
|
timeout: 300
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
- name: Clone repositories required for nitro-stack
|
|
||||||
expect:
|
|
||||||
command: laconic-so --stack {{ ansible_env.HOME }}/cerc/nitro-stack/stack-orchestrator/stacks/bridge setup-repositories --git-ssh --pull
|
|
||||||
responses:
|
|
||||||
"Are you sure you want to continue connecting \\(yes/no/\\[fingerprint\\]\\)\\?": "yes"
|
|
||||||
timeout: 300
|
|
||||||
ignore_errors: yes
|
|
||||||
|
|
||||||
- name: Build containers
|
- name: Build containers
|
||||||
command: laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/bridge build-containers --force-rebuild
|
command: laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/bridge build-containers --force-rebuild
|
||||||
when: not skip_container_build
|
when: not skip_container_build
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
path: "{{ nitro_directory }}"
|
path: "{{ nitro_directory }}"
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
|
|
||||||
- name: Change owner of nitro-directory
|
- name: Change owner of nitro-directory
|
||||||
file:
|
file:
|
||||||
path: "{{ nitro_directory }}"
|
path: "{{ nitro_directory }}"
|
||||||
@ -23,7 +22,7 @@
|
|||||||
state: directory
|
state: directory
|
||||||
recurse: yes
|
recurse: yes
|
||||||
|
|
||||||
- name: Clone go-nitro stack repo
|
- name: Clone nitro stack repo
|
||||||
expect:
|
expect:
|
||||||
command: laconic-so fetch-stack git.vdb.to/cerc-io/nitro-stack --git-ssh --pull
|
command: laconic-so fetch-stack git.vdb.to/cerc-io/nitro-stack --git-ssh --pull
|
||||||
responses:
|
responses:
|
||||||
@ -31,14 +30,6 @@
|
|||||||
timeout: 300
|
timeout: 300
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
- name: Clone repositories required for nitro-stack
|
|
||||||
expect:
|
|
||||||
command: laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/bridge setup-repositories --git-ssh --pull
|
|
||||||
responses:
|
|
||||||
"Are you sure you want to continue connecting \\(yes/no/\\[fingerprint\\]\\)\\?": "yes"
|
|
||||||
timeout: 300
|
|
||||||
ignore_errors: yes
|
|
||||||
|
|
||||||
- name: Build containers
|
- name: Build containers
|
||||||
command: laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/bridge build-containers --force-rebuild
|
command: laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/bridge build-containers --force-rebuild
|
||||||
when: not skip_container_build
|
when: not skip_container_build
|
||||||
|
@ -37,14 +37,6 @@
|
|||||||
timeout: 300
|
timeout: 300
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
- name: Clone repositories required for nitro-stack
|
|
||||||
expect:
|
|
||||||
command: laconic-so --stack {{ ansible_env.HOME }}/cerc/nitro-stack/stack-orchestrator/stacks/nitro-node setup-repositories --git-ssh --pull
|
|
||||||
responses:
|
|
||||||
"Are you sure you want to continue connecting \\(yes/no/\\[fingerprint\\]\\)\\?": "yes"
|
|
||||||
timeout: 300
|
|
||||||
ignore_errors: yes
|
|
||||||
|
|
||||||
- name: Build containers
|
- name: Build containers
|
||||||
command: laconic-so --stack {{ ansible_env.HOME }}/cerc/nitro-stack/stack-orchestrator/stacks/nitro-node build-containers --force-rebuild
|
command: laconic-so --stack {{ ansible_env.HOME }}/cerc/nitro-stack/stack-orchestrator/stacks/nitro-node build-containers --force-rebuild
|
||||||
when: not skip_container_build
|
when: not skip_container_build
|
||||||
|
@ -91,14 +91,14 @@
|
|||||||
name: "{{ subdomain_prefix }}"
|
name: "{{ subdomain_prefix }}"
|
||||||
ttl: 43200
|
ttl: 43200
|
||||||
|
|
||||||
- name: Create wildcard A record for subdomain
|
- name: Create wildcard CNAME record for subdomain
|
||||||
community.digitalocean.digital_ocean_domain_record:
|
community.digitalocean.digital_ocean_domain_record:
|
||||||
state: present
|
state: present
|
||||||
oauth_token: "{{ do_api_token }}"
|
oauth_token: "{{ do_api_token }}"
|
||||||
name: "{{ subdomain_cluster_control }}.{{ full_domain }}"
|
name: "{{ subdomain_cluster_control }}.{{ full_domain }}"
|
||||||
data: "{{ service_provider_ip }}"
|
data: "{{ service_provider_ip }}"
|
||||||
domain: "{{ full_domain }}"
|
domain: "{{ full_domain }}"
|
||||||
type: A
|
type: CNAME
|
||||||
name: "*.{{ subdomain_prefix }}"
|
name: "*.{{ subdomain_prefix }}"
|
||||||
ttl: 43200
|
ttl: 43200
|
||||||
|
|
||||||
@ -112,13 +112,13 @@
|
|||||||
name: "pwa"
|
name: "pwa"
|
||||||
ttl: 43200
|
ttl: 43200
|
||||||
|
|
||||||
- name: Create wildcard A record for pwa
|
- name: Create wildcard CNAME record for pwa
|
||||||
community.digitalocean.digital_ocean_domain_record:
|
community.digitalocean.digital_ocean_domain_record:
|
||||||
state: present
|
state: present
|
||||||
oauth_token: "{{ do_api_token }}"
|
oauth_token: "{{ do_api_token }}"
|
||||||
name: "{{ subdomain_cluster_control }}.{{ full_domain }}"
|
name: "{{ subdomain_cluster_control }}.{{ full_domain }}"
|
||||||
data: "{{ service_provider_ip }}"
|
data: "{{ service_provider_ip }}"
|
||||||
domain: "{{ full_domain }}"
|
domain: "{{ full_domain }}"
|
||||||
type: A
|
type: CNAME
|
||||||
name: "*.pwa"
|
name: "*.pwa"
|
||||||
ttl: 43200
|
ttl: 43200
|
||||||
|
Loading…
Reference in New Issue
Block a user