19 lines
384 B
YAML
Raw Normal View History

---
# Define file, folder, and other facts per OS.
- name: Set Pop OS Facts
set_fact:
flatpak_distro: true
when: ansible_distribution == "Pop!_OS"
- name: Set Debian and Ubuntu Facts
set_fact:
flatpak_distro: true
when: ansible_distribution in ("Debian","Ubuntu")
- name: Set FreeBSD Facts
set_fact:
flatpak_distro: false
when: ansible_system == "FreeBSD"