Change to definitely use a string value.

This commit is contained in:
Hyperling 2021-02-02 21:44:56 -06:00
parent 4554a96315
commit 4caa361aeb
2 changed files with 4 additions and 4 deletions

View File

@ -3,13 +3,13 @@
- name: Facts | Workstation | System | Pop OS
set_fact:
flatpak_distro: true
flatpak_distro: yes sir
when: ansible_distribution == "Pop!_OS"
- name: Facts | Workstation | System | Debian and Ubuntu
set_fact:
flatpak_distro: true
flatpak_distro: yes sir
when: ansible_distribution in ("Debian","Ubuntu")

View File

@ -43,11 +43,11 @@
tasks:
- include: tasks/linux/software/flatpaks.yml
when: ansible_system == "Linux" and
flatpak_distro == true
flatpak_distro == "yes sir"
- name: Worktation | Linux | Packages | Not Implemented
shell: echo "Not implemented yet. :("
when: ansible_system == "Linux" and
flatpak_distro != true
flatpak_distro != "yes sir"
- include: tasks/freebsd/software/gui.yml
when: ansible_system == "FreeBSD"