From d577a2bdfb400162027875b9c54f92752707864c Mon Sep 17 00:00:00 2001 From: David Kilias Date: Tue, 9 Feb 2021 19:35:33 +0100 Subject: [PATCH] install dependency git --- roles/dehydrated/tasks/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/dehydrated/tasks/main.yml b/roles/dehydrated/tasks/main.yml index 847f61a..101378f 100644 --- a/roles/dehydrated/tasks/main.yml +++ b/roles/dehydrated/tasks/main.yml @@ -3,6 +3,11 @@ package_facts: manager: "auto" +- name: Ensure git is installed. + package: + name: git + state: present + - name: Clone dehydrated repo. git: repo: 'https://github.com/dehydrated-io/dehydrated.git' @@ -43,5 +48,4 @@ src: config.j2 dest: "{{ dehydrated_config_dir }}/config" notify: dehydrated register - \ No newline at end of file