Skip to content

Commit

Permalink
fix(dolos): set module for unarchive and indent
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <[email protected]>
  • Loading branch information
wolf31o2 committed Oct 25, 2024
1 parent 14fc6e5 commit 3cf7429
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions roles/dolos/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,17 @@
- name: Generate Dolos config
template:
dest: '{{ dolos_etc_container_dir }}/daemon.toml'
src: daemon.toml.j2
src: 'daemon.toml.j2'
owner: '{{ cardano_node_user | string }}'
group: '{{ cardano_node_group | string }}'
mode: 0644

- name: Unarchive Dolos snapshot
src: '{{ dolos_snapshot_url | string }}'
dest: '{{ dolos_db_dir }}'
remote_src: yes
creates: '{{ dolos_db_dir }}/ledger'
ansible.builtin.unarchive:
src: '{{ dolos_snapshot_url | string }}'
dest: '{{ dolos_db_dir }}'
remote_src: yes
creates: '{{ dolos_db_dir }}/ledger'
when: dolos_snapshot_enabled

- name: Include docker-related tasks
Expand Down

0 comments on commit 3cf7429

Please sign in to comment.