yavdr-ansible/roles/yavdr-common/tasks/local_facts.yml
2017-02-28 16:30:56 +01:00

16 lines
318 B
YAML

---
# file: local_facts.yml
- name: create directory for local facts
file:
dest: /etc/ansible/facts.d
state: directory
- name: copy facts script for USB- and PCI(e)-IDs
copy:
src: files/hardware.facts.py
dest: /etc/ansible/facts.d/hardware.facts
mode: '0775'
- name: get local facts
setup: