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