1
0
Fork 0
This repository has been archived on 2025-03-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
ansible-role-borg/tasks/common.yml

17 lines
350 B
YAML

---
- name: Ensure borg is installed
package:
name: "{{ borg.package_name }}"
- name: Push borg gathering fact on client
copy:
src: borg.fact
dest: /etc/ansible/facts.d/
mode: 0500
owner: root
register: borg_gathering_fact
- name: reload ansible_local
setup: filter=ansible_local
when: borg_gathering_fact.changed
...