@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
15 lines (13 loc) • 512 B
YAML
- name: "Ensure {{ app_name }} is installed"
dnf:
name: timeshift
state: present
enablerepo: "{{ 'epel' if ansible_os_distribution != 'Fedora' else omit }}"
update_cache: "{{ omit if skip_package_cache_update is defined else 'true' }}"
when:
- "'cent' in ansible_os_distribution and ansible_os_major_version | int == 7"
- "not ('cent' in ansible_os_distribution)"
- name: Run generic configuration tasks
include_tasks: config-Linux.yml
when: "'btrfs' in root_fs_type.stdout"