Skip to content

Commit af19168

Browse files
authored
fix(dolos): set module for unarchive and indent (#157)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent 14fc6e5 commit af19168

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

roles/dolos/tasks/main.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,17 @@
2323
- name: Generate Dolos config
2424
template:
2525
dest: '{{ dolos_etc_container_dir }}/daemon.toml'
26-
src: daemon.toml.j2
26+
src: 'daemon.toml.j2'
2727
owner: '{{ cardano_node_user | string }}'
2828
group: '{{ cardano_node_group | string }}'
2929
mode: 0644
3030

3131
- name: Unarchive Dolos snapshot
32-
src: '{{ dolos_snapshot_url | string }}'
33-
dest: '{{ dolos_db_dir }}'
34-
remote_src: yes
35-
creates: '{{ dolos_db_dir }}/ledger'
32+
ansible.builtin.unarchive:
33+
src: '{{ dolos_snapshot_url | string }}'
34+
dest: '{{ dolos_db_dir }}'
35+
remote_src: yes
36+
creates: '{{ dolos_db_dir }}/ledger'
3637
when: dolos_snapshot_enabled
3738

3839
- name: Include docker-related tasks

0 commit comments

Comments
 (0)