From 8e5245de97cec881f4e678fb0ddcd200afa36446 Mon Sep 17 00:00:00 2001 From: David Kilias Date: Sun, 7 Feb 2021 21:13:00 +0100 Subject: [PATCH] remove role prefix --- roles/dehydrated/tasks/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/dehydrated/tasks/main.yml b/roles/dehydrated/tasks/main.yml index b06ada6..ece7b48 100644 --- a/roles/dehydrated/tasks/main.yml +++ b/roles/dehydrated/tasks/main.yml @@ -4,29 +4,29 @@ manager: "auto" - name: Clone dehydrated repo. - ansible.builtin.git: + git: repo: 'https://github.com/dehydrated-io/dehydrated.git' dest: "{{ dehydrated_location }}" version: "{{ dehydrated_version }}" - name: Ensure dehydrated symlink is present. - ansible.builtin.file: + file: src: "{{ dehydrated_location }}/dehydrated" dest: "{{ dehydrated_binary }}" state: link - name: Ensure config directory is present. - ansible.builtin.file: + file: path: "{{ dehydrated_config }}" state: directory - name: Ensure domains.txt is present. - ansible.builtin.file: + file: path: "{{ dehydrated_config }}/domains.txt" state: touch - name: Ensure config is present. - ansible.builtin.template: + template: src: config.j2 dest: "{{ dehydrated_config }}/config" notify: dehydrated register