Add Ansible task to fetch nitro node config file #8
@ -21,14 +21,22 @@
|
|||||||
group: "{{ansible_user}}"
|
group: "{{ansible_user}}"
|
||||||
state: directory
|
state: directory
|
||||||
recurse: yes
|
recurse: yes
|
||||||
become: yes
|
|
||||||
|
|
||||||
- name: Clone fixturenet-optimism-stack
|
- name: Clone fixturenet-optimism-stack
|
||||||
|
expect:
|
||||||
command: laconic-so fetch-stack git.vdb.to/cerc-io/fixturenet-optimism-stack --pull
|
command: laconic-so fetch-stack git.vdb.to/cerc-io/fixturenet-optimism-stack --pull
|
||||||
|
responses:
|
||||||
|
"Are you sure you want to continue connecting \\(yes/no/\\[fingerprint\\]\\)\\?": "yes"
|
||||||
|
timeout: 300
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
- name: Clone required repositories for fixturenet-optimism
|
- name: Clone required repositories for fixturenet-optimism
|
||||||
command: laconic-so --stack ~/cerc/fixturenet-optimism-stack/stack/fixturenet-optimism setup-repositories --pull
|
expect:
|
||||||
|
command: laconic-so --stack {{ ansible_env.HOME }}/cerc/fixturenet-optimism-stack/stack/fixturenet-optimism setup-repositories --pull
|
||||||
|
responses:
|
||||||
|
"Are you sure you want to continue connecting \\(yes/no/\\[fingerprint\\]\\)\\?": "yes"
|
||||||
|
timeout: 300
|
||||||
|
ignore_errors: yes
|
||||||
|
|
||||||
- name: Build container images for L2
|
- name: Build container images for L2
|
||||||
command: laconic-so --stack ~/cerc/fixturenet-optimism-stack/stack/fixturenet-optimism build-containers --force-rebuild
|
command: laconic-so --stack ~/cerc/fixturenet-optimism-stack/stack/fixturenet-optimism build-containers --force-rebuild
|
||||||
|
@ -13,11 +13,6 @@
|
|||||||
file:
|
file:
|
||||||
path: "{{ nitro_directory }}"
|
path: "{{ nitro_directory }}"
|
||||||
state: directory
|
state: directory
|
||||||
become: yes
|
|
||||||
|
|
||||||
- name: Clone go-nitro stack repo
|
|
||||||
command: laconic-so fetch-stack git.vdb.to/cerc-io/nitro-stack --git-ssh --pull
|
|
||||||
ignore_errors: yes
|
|
||||||
|
|
||||||
- name: Change owner of nitro-directory
|
- name: Change owner of nitro-directory
|
||||||
file:
|
file:
|
||||||
@ -26,10 +21,21 @@
|
|||||||
group: "{{ansible_user}}"
|
group: "{{ansible_user}}"
|
||||||
state: directory
|
state: directory
|
||||||
recurse: yes
|
recurse: yes
|
||||||
become: yes
|
|
||||||
|
- name: Clone go-nitro stack repo
|
||||||
|
expect:
|
||||||
|
command: laconic-so fetch-stack git.vdb.to/cerc-io/nitro-stack --git-ssh --pull
|
||||||
|
responses:
|
||||||
|
"Are you sure you want to continue connecting \\(yes/no/\\[fingerprint\\]\\)\\?": "yes"
|
||||||
|
timeout: 300
|
||||||
|
ignore_errors: yes
|
||||||
|
|
||||||
- name: Clone repositories required for nitro-stack
|
- name: Clone repositories required for nitro-stack
|
||||||
command: laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/bridge setup-repositories --git-ssh --pull
|
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
|
ignore_errors: yes
|
||||||
|
|
||||||
- name: Build containers
|
- name: Build containers
|
||||||
|
@ -13,11 +13,7 @@
|
|||||||
file:
|
file:
|
||||||
path: "{{ nitro_directory }}"
|
path: "{{ nitro_directory }}"
|
||||||
state: directory
|
state: directory
|
||||||
become: yes
|
|
||||||
|
|
||||||
- name: Clone go-nitro stack repo
|
|
||||||
command: laconic-so fetch-stack git.vdb.to/cerc-io/nitro-stack --git-ssh --pull
|
|
||||||
ignore_errors: yes
|
|
||||||
|
|
||||||
- name: Change owner of nitro-directory
|
- name: Change owner of nitro-directory
|
||||||
file:
|
file:
|
||||||
@ -26,10 +22,21 @@
|
|||||||
group: "{{ansible_user}}"
|
group: "{{ansible_user}}"
|
||||||
state: directory
|
state: directory
|
||||||
recurse: yes
|
recurse: yes
|
||||||
become: yes
|
|
||||||
|
- name: Clone go-nitro stack repo
|
||||||
|
expect:
|
||||||
|
command: laconic-so fetch-stack git.vdb.to/cerc-io/nitro-stack --git-ssh --pull
|
||||||
|
responses:
|
||||||
|
"Are you sure you want to continue connecting \\(yes/no/\\[fingerprint\\]\\)\\?": "yes"
|
||||||
|
timeout: 300
|
||||||
|
ignore_errors: yes
|
||||||
|
|
||||||
- name: Clone repositories required for nitro-stack
|
- name: Clone repositories required for nitro-stack
|
||||||
|
expect:
|
||||||
command: laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/bridge setup-repositories --git-ssh --pull
|
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
|
ignore_errors: yes
|
||||||
|
|
||||||
- name: Build containers
|
- name: Build containers
|
||||||
@ -45,7 +52,6 @@
|
|||||||
stat:
|
stat:
|
||||||
path: "{{ nitro_directory }}/nitro-contracts-deployment"
|
path: "{{ nitro_directory }}/nitro-contracts-deployment"
|
||||||
register: nitro_contracts_deployment
|
register: nitro_contracts_deployment
|
||||||
become: yes
|
|
||||||
|
|
||||||
- name: Create a deployment for nitro contracts
|
- name: Create a deployment for nitro contracts
|
||||||
command: laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/nitro-contracts deploy create --spec-file nitro-contracts-spec.yml --deployment-dir nitro-contracts-deployment
|
command: laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/nitro-contracts deploy create --spec-file nitro-contracts-spec.yml --deployment-dir nitro-contracts-deployment
|
||||||
|
Loading…
Reference in New Issue
Block a user