homeserver/roles/mgrote.ansible/tasks/main.yml

29 lines
726 B
YAML

- name: ansible installieren
become: yes
apt:
name:
- ansible
- yamllint
state: present
- name: ansible-lint und yaml-lint installieren
become: yes
pip:
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