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 - name: Facts | Workstation | System | Pop OS
set_fact: set_fact:
flatpak_distro: true flatpak_distro: yes sir
when: ansible_distribution == "Pop!_OS" when: ansible_distribution == "Pop!_OS"
- name: Facts | Workstation | System | Debian and Ubuntu - name: Facts | Workstation | System | Debian and Ubuntu
set_fact: set_fact:
flatpak_distro: true flatpak_distro: yes sir
when: ansible_distribution in ("Debian","Ubuntu") when: ansible_distribution in ("Debian","Ubuntu")

View File

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