From 2bbdd267287d02fca72b551cf7f31bf46388626d Mon Sep 17 00:00:00 2001 From: Quotengrote <38253905+quotengrote@users.noreply.github.com> Date: Thu, 20 Aug 2020 15:26:16 +0200 Subject: [PATCH] LookUp Plugin pykeepass eingebunden in Einrichtung (#11) --- roles/mgrote.ansible/tasks/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/roles/mgrote.ansible/tasks/main.yml b/roles/mgrote.ansible/tasks/main.yml index 0c6a09b9..5855fdb3 100644 --- a/roles/mgrote.ansible/tasks/main.yml +++ b/roles/mgrote.ansible/tasks/main.yml @@ -12,3 +12,18 @@ name: - ansible-lint state: present + + # pykeepass wird durch geerlingguy.pip mit installiert + # https://github.com/viczem/ansible-keepass#readme + - name: create ~/.ansible/plugins/lookup + become: yes + file: + path: /home/mg/.ansible/plugins/lookup + state: directory + + - name: Download keepass.py + become: yes + get_url: + url: https://raw.githubusercontent.com/viczem/ansible-keepass/master/keepass.py + dest: /home/mg/.ansible/plugins/lookup/keepass.py + backup: yes