dotfiles/config/automatrop/roles/facts/tasks/main.yml
Geoffrey Frogeye fda5b38ddb
color role → desktop_environment role
Is this commit without too many change so that Git catches on the
rename?
Yes, yes it is.
2021-06-18 21:55:41 +02:00

13 lines
618 B
YAML

- name: Set facts
set_fact:
arch_based: "{{ ansible_distribution == 'Archlinux' }}"
arch: "{{ ansible_lsb.id == 'Arch' }}"
manjaro: "{{ ansible_lsb.id == 'Manjaro' or ansible_lsb.id == 'Manjaro-ARM' }}"
termux: "{{ ansible_distribution == 'OtherLinux' and ansible_python.executable == '/data/data/com.termux/files/usr/bin/python' }}"
debian_based: "{{ ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu' }}"
debian: "{{ ansible_distribution == 'Debian' }}"
ubuntu: "{{ ansible_distribution == 'Ubuntu' }}"
tags:
- always
# TODO Make this a real Ansible fact maybe?