diff --git a/roles/set-min-gas-price/tasks/main.yml b/roles/set-min-gas-price/tasks/main.yml index 0400b26..04206f4 100644 --- a/roles/set-min-gas-price/tasks/main.yml +++ b/roles/set-min-gas-price/tasks/main.yml @@ -1,4 +1,10 @@ --- +- name: Check that node role is correct + stat: + path: "{{ home }}" + register: role_home_folder + failed_when: not role_home_folder.stat.exists + - name: Create directory for backups file: path={{ home }}/backups-node.toml state=directory