@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
14 lines (12 loc) • 424 B
YAML
# @todo Improvement: Use the standardized yum_repository method used in other roles instead
- name: "Ensure {{ app_name }}'s repository is added"
copy:
src: "{{ restic_repo }}"
dest: "{{ repos_dir }}/{{ restic_repo }}"
mode: preserve
- name: "Ensure {{ app_name }} is installed"
dnf:
name: restic
state: present
update_cache: "{{ omit if skip_package_cache_update is defined else 'true' }}"