I guess facts are only strings, not booleans. Or I need to learn more.
This commit is contained in:
parent
ff0e10506f
commit
834800df8c
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
- name: Set Pop OS Facts
|
- name: Set Pop OS Facts
|
||||||
set_fact:
|
set_fact:
|
||||||
flatpak_distro: yes
|
flatpak_distro: true
|
||||||
lynis_install_dir: /usr/local/lynis
|
lynis_install_dir: /usr/local/lynis
|
||||||
lynis_report: /home/ling/lynis.log
|
lynis_report: /home/ling/lynis.log
|
||||||
sudoers_install_dir: /etc/sudoers.d/ansible
|
sudoers_install_dir: /etc/sudoers.d/ansible
|
||||||
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
- name: Set Debian and Ubuntu Facts
|
- name: Set Debian and Ubuntu Facts
|
||||||
set_fact:
|
set_fact:
|
||||||
flatpak_distro: yes
|
flatpak_distro: true
|
||||||
lynis_install_dir: /usr/local/lynis
|
lynis_install_dir: /usr/local/lynis
|
||||||
lynis_report: /root/lynis.log
|
lynis_report: /root/lynis.log
|
||||||
sudoers_install_dir: /etc/sudoers.d/ansible
|
sudoers_install_dir: /etc/sudoers.d/ansible
|
||||||
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
- name: Set FreeBSD Facts
|
- name: Set FreeBSD Facts
|
||||||
set_fact:
|
set_fact:
|
||||||
flatpak_distro: no
|
flatpak_distro: false
|
||||||
lynis_install_dir: /usr/local/lynis
|
lynis_install_dir: /usr/local/lynis
|
||||||
lynis_report: /root/lynis.log
|
lynis_report: /root/lynis.log
|
||||||
sudoers_install_dir: /usr/local/etc/sudoers.d/ansible
|
sudoers_install_dir: /usr/local/etc/sudoers.d/ansible
|
||||||
|
@ -32,10 +32,10 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- include: tasks/linux/flatpaks.yml
|
- include: tasks/linux/flatpaks.yml
|
||||||
when: ansible_system == "Linux" and
|
when: ansible_system == "Linux" and
|
||||||
flatpak_distro == yes
|
flatpak_distro == "true"
|
||||||
- shell: echo "Not implemented yet. :("
|
- shell: echo "Not implemented yet. :("
|
||||||
when: ansible_system == "Linux" and
|
when: ansible_system == "Linux" and
|
||||||
flatpak_distro == no
|
flatpak_distro != "true"
|
||||||
- include: tasks/freebsd/gui.yml
|
- include: tasks/freebsd/gui.yml
|
||||||
when: ansible_system == "FreeBSD"
|
when: ansible_system == "FreeBSD"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user