From 3cf74294835e8b21799d0b49c8f39ff186fc6dcd Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Thu, 24 Oct 2024 21:49:29 -0400 Subject: [PATCH] fix(dolos): set module for unarchive and indent Signed-off-by: Chris Gianelloni --- roles/dolos/tasks/main.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/roles/dolos/tasks/main.yml b/roles/dolos/tasks/main.yml index fe6e6dd..d52ab37 100644 --- a/roles/dolos/tasks/main.yml +++ b/roles/dolos/tasks/main.yml @@ -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