cosmos-sdk/networks/remote/ansible/roles/extract-config/tasks/main.yml

15 lines
328 B
YAML

---
- name: Fetch genesis.json
fetch: "src=/home/gaiad/.gaiad/config/genesis.json dest={{GENESISFILE}} flat=yes"
run_once: yes
become: yes
become_user: gaiad
- name: Fetch config.toml
fetch: "src=/home/gaiad/.gaiad/config/config.toml dest={{CONFIGFILE}} flat=yes"
run_once: yes
become: yes
become_user: gaiad